Controlling one light-emitting diode (LED) with a ESP32 Three is one surprisingly simple task, especially when using a 1k resistance. The resistor limits a current flowing through a LED, preventing it from burning out https://madbookmarks.com/story20661654/esp32-three-led-control-with-the-1k-resistor