Controlling a light-emitting diode (LED) with a ESP32 Third is one surprisingly simple task, especially when employing a 1k resistor. The resistance limits one current flowing through one LED, preventing it from frying http://theengineerstore.in/hi/products/3-inch-speaker-4%CF%89-5w