import board
import digitalio
import time
# Initialize LED pin
led = digitalio.DigitalInOut(board.GP0) # Replace GP0 with the correct pin for your setup
led.direction = digitalio.Direction.OUTPUT
# Blink the LED
while True:
led.value = True # Turn LED on
time.sleep(1) # Wait for 1 second
led.value = False # Turn LED off
time.sleep(1) # Wait for 1 second