Controlling a light-emitting diode (LED) with the ESP32 Three is a surprisingly simple task, especially when employing a 1k resistance. The resistor limits one current flowing through a LED, preventing it from burning https://estelledomh095016.eedblog.com/38860936/esp32-three-led-regulation-with-a-1k-resistance