Controlling one light-emitting diode (LED) with the ESP32 Three is the surprisingly simple project, especially when using the 1k load. The resistor limits a current flowing through a LED, preventing them from burning https://kobijbwz598757.elbloglibre.com/38774563/esp32-third-led-regulation-with-a-1k-resistor