import time
import board
import digitalio
#define the LED pin
led_pin = board.GP1
#Intialize the LED pin as a digital output
led = digitalio.DigitalInOut(led_pin)
led.direction = digitalio.Dirction.OUTPUT
#main loop to blink the LED
while True:
led.value = True # turn the LED on
print("LED ON!")
time.sleep(1) # wait for 1 second
led.vlue = False # Turn the LED off
print("LED OFF!")
time.sleep(1) # wait fpr 1 second