A basic script that causes the onboard LED on the ESP32 microcontroller to blink.
The ESP32 microcontroller I was using does not have an onboard LED. You may have to adjust the pin number to make this script wrork with your version.
A basic example of blinking the onboard LED on an ESP32 microcontroller.
Python