Controlling the light-emitting diode (LED) with a ESP32 Third is a surprisingly simple project, especially when using a 1k resistor. The resistance limits a current flowing through one LED, preventing it from frying https://madesocials.com/story6173844/esp32-third-led-regulation-with-one-1k-load