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