Controlling a light-emitting diode (LED) with the ESP32 S3 is a surprisingly simple project, especially when using the 1k resistor. The load limits the current flowing through the LED, preventing them from frying out https://dftsocial.com/story21691919/esp32-s3-led-management-with-one-1k-resistance