Controlling the light-emitting diode (LED) with an ESP32 S3 is a surprisingly simple task, especially when using one 1k resistor. The resistor limits the current flowing through a LED, preventing it’s from melting https://guideyoursocial.com/story5706031/esp32-third-led-regulation-with-the-1k-resistor