from machine import Pin
import time
led1=Pin(0,Pin.OUT)
while True:
led1.value(1)
print("LED ON")
time.sleep(1)
led1.value(0)
time.sleep(1)
print("LED OFF")
from machine import Pin
import time
led1=Pin(0,Pin.OUT)
while True:
led1.value(1)
print("LED ON")
time.sleep(1)
led1.value(0)
time.sleep(1)
print("LED OFF")