Controlling one light-emitting diode (LED) with a ESP32 Third is one surprisingly simple project, especially when using a 1k resistor. The resistor limits the current flowing through one LED, preventing it’s from burning out and ensuring a predictable intensity. Typically, you'll connect the ESP32's GPIO output to a resistor, and then connect one