import time from machine import Pin p1=Pin(1, Pin.OUT) while True: p1.on() time.sleep(1) p1.off() time.sleep(1)