Controlling a light-emitting diode (LED) with a ESP32 Third is one surprisingly simple task, especially when utilizing a 1k resistance. The resistor limits a current flowing through the LED, preventing it from frying http://theengineerstore.in/products/li-ion-battery-charger-universal-dual-3-7v-battery-18650-battery-charger