from machine import Pin
from time import sleep
led = Pin(22, Pin.OUT) 
while True:
    led.value(1)
    sleep(5)
    led.value(0)
    sleep(5)