Controlling a light-emitting diode (LED) with the ESP32 Three is a surprisingly simple task, especially when using the 1k resistor. The resistor limits the current flowing through a LED, preventing it from melting out http://theengineerstore.in/collections/e-bike-parts