Controlling the light-emitting diode (LED) with an ESP32 Third is the surprisingly simple task, especially when employing a 1k resistor. The load limits the current flowing through a LED, preventing it from burning out and ensuring a predictable output. Typically, one will connect a ESP32's GPIO pin to a resistor, and and connect a resistor to the