from machine import Pin
from utime import sleep
# Print Hello, Pi Pico
print("Hello, Pi Pico!")
#Initialize pin 5 as an output pin
led = Pin(5, Pin.OUT)
#Run a forever loop to blink the LED every 0.5 seconds
while True:
led.toggle() #Turn on/off the LED
sleep(0.5) # wait 0.5 seconds