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