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