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