Controlling a light-emitting diode (LED) with a ESP32 Three is the surprisingly simple task, especially when employing a 1k load. The resistor limits the current flowing through the LED, preventing them from frying out http://theengineerstore.in/products/9v-small-piezo-buzzer