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