Controlling one light-emitting diode (LED) with a ESP32 Third is the surprisingly simple task, especially when using one 1k resistor. The resistor limits one current flowing through a LED, preventing it’s from frying https://socialbaskets.com/story6294242/esp32-third-led-control-with-a-1k-resistor