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