from machine import Pin # to be able to work with the hardware
from time import sleep # to add delays in the program
LED_PIN = Pin(25, Pin.OUT)
# continuously blink the onboard LED for an interval of 1 sec while the board has power
while True:
LED_PIN.on() # turn on LED
sleep(1) # wait for 1 sec
LED_PIN.off() # turn off LED
sleep(1) # wait for 1 sec