import board
import digitalio
import time

led = digitalio.DigitalInOut(board.GP0)  # Assing pin
led.direction = digitalio.Direction.OUTPUT  # Declare LED as ouput

while True:
    led.value = True  # Set LED to turn on
    time.sleep(1)
    led.value = False  # Set LED to turn down
    time.sleep(1)

C I R C U I T P Y T H O N