Controlling one light-emitting diode (LED) with a ESP32 Third is one surprisingly simple endeavor, especially when using the 1k resistor. The load limits a current flowing through a LED, preventing them from melting out and ensuring a predictable brightness. Typically, one will connect one ESP32's GPIO pin to the resistor, and then connect the load