Controlling the light-emitting diode (LED) with a ESP32 Three is the surprisingly simple task, especially when using the 1k resistor. The resistance limits a current flowing through a LED, preventing it from frying out https://active-bookmarks.com/story20552338/esp32-s3-led-regulation-with-one-1k-resistance