Controlling the light-emitting diode (LED) with a ESP32 Third is the surprisingly simple task, especially when using a 1k resistance. The resistor limits a current flowing through the LED, preventing it from frying out https://emiliauioh884866.blogsumer.com/37625287/esp32-three-led-regulation-with-one-1k-load