Controlling one light-emitting diode (LED) with the ESP32 Third is the surprisingly simple task, especially when employing a 1k resistor. The resistor limits the current flowing through a LED, preventing it’s from melting out and ensuring one predictable brightness. Usually, you'll connect a ESP32's GPIO output to a load, and afterward connect on