Controlling a light-emitting diode (LED) with an ESP32 S3 is the surprisingly simple project, especially when using a 1k resistance. The resistor limits one current flowing through the LED, preventing it from burning https://larakpie925273.celticwiki.com/user