Controlling the light-emitting diode (LED) with an ESP32 Third is the surprisingly simple task, especially when using the 1k load. The resistance limits the current flowing through a LED, preventing them from frying https://cyruszuam285540.angelinsblog.com/37542075/esp32-third-led-control-with-the-1k-resistance