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