from machine import Pin
from utime import sleep
ledPin= Pin(6,Pin.OUT)
while True:
ledPin.value(1)
print("Led On")
sleep(2)
ledPin.value(0)
print("Led Off")
sleep(2)
from machine import Pin
from utime import sleep
ledPin= Pin(6,Pin.OUT)
while True:
ledPin.value(1)
print("Led On")
sleep(2)
ledPin.value(0)
print("Led Off")
sleep(2)