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