//Turn on and off a LED
import board
import digitalio
import time
led = digitalio.DigitalInOut(board.GP26) #Asign pin to 26
led.direction = digitalio.Direction.OUTPUT #Declare LED as output
while True:
led.value = True #LED On
time.sleep(1)
led.value = False #LED Off
time.sleep(1)