Controlling one light-emitting diode (LED) with the ESP32 Three is a surprisingly simple project, especially when using the 1k load. The resistance limits a current flowing through one LED, preventing them from frying https://wisesocialsmedia.com/story6129030/esp32-three-led-management-with-one-1k-resistance