from machine import Pin import time led = Pin(14, Pin.OUT) led.on() time.sleep(5) led.off() time.sleep(5)