Controlling the light-emitting diode (LED) with a ESP32 Third is the surprisingly simple task, especially when using the 1k resistance. The load limits a current flowing through the LED, preventing it from burning out https://arranaeph832761.educationalimpactblog.com/60023718/esp32-third-led-regulation-with-the-1k-resistor