from machine import Pin
import time
time.sleep(0.1) # Wait for USB to become ready
print("Hello, Pi Pico!")
led = Pin(19, Pin.OUT) #conifig pin GP19 as OUTPUT
while True:
led.value(1) #Turn on the LED
time.sleep(1) # delay of 1 sec
led.value(0) #Turn off the LED
time.sleep(1) #delay of 1 sec