from machine import Pin
import time
LED =Pin (3,Pin.OUT)
while(1):
LED.value(1)
print("LED On")
time.sleep(1)
LED.value(0)
print("LED Off")
time.sleep(1)from machine import Pin
import time
LED =Pin (3,Pin.OUT)
while(1):
LED.value(1)
print("LED On")
time.sleep(1)
LED.value(0)
print("LED Off")
time.sleep(1)