Controlling the light-emitting diode (LED) with a ESP32 S3 is one surprisingly simple task, especially when employing a 1k resistance. The load limits the current flowing through a LED, preventing it’s from frying http://theengineerstore.in/products/laser-pointer-pen-5mw-red-color-led-flash-light-stylus-3-in-1