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