from machine import Pin
from utime import sleep
led = Pin(10, Pin.OUT)
while True :
led.value(1)
print("ON")
sleep(1)
led.value(0)
print("OFF")
sleep(1)
from machine import Pin
from utime import sleep
led = Pin(10, Pin.OUT)
while True :
led.value(1)
print("ON")
sleep(1)
led.value(0)
print("OFF")
sleep(1)