Controlling a light-emitting diode (LED) with an ESP32 Three is the surprisingly simple endeavor, especially when using a 1k load. The load limits one current flowing through the LED, preventing them from frying out https://directmysocial.com/story5381737/esp32-three-led-management-with-a-1k-resistor