from machine import Pin
from utime import sleep
myLED=Pin (2, Pin.OUT)
while True:
myLED.value(1)
print("LED ON!")
sleep(2)
myLED.value(0)
print("LED OFF!")
sleep(2)
from machine import Pin
from utime import sleep
myLED=Pin (2, Pin.OUT)
while True:
myLED.value(1)
print("LED ON!")
sleep(2)
myLED.value(0)
print("LED OFF!")
sleep(2)