Controlling a light-emitting diode (LED) with a ESP32 Third is a surprisingly simple task, especially when using a 1k resistance. The resistance limits the current flowing through a LED, preventing it from frying out http://theengineerstore.in/products/microsoft-v4-surface-pen-eyu-00053-ice-blue