from machine import Pin import utime led = Pin(1,Pin.OUT) led.value(1) utime.sleep(1) led.value(0) utime.sleep(0,1)