form machine import Pin
from utime import sleep
ledR=Pin(18, Pin.OUT)
while true:
ledR.value(1) #indico que enciendo el LED
sleep (3) #por cuanto tiempo se va a encender
ledR.value8 #indico que apago el LED
sleepform machine import Pin
from utime import sleep
ledR=Pin(18, Pin.OUT)
while true:
ledR.value(1) #indico que enciendo el LED
sleep (3) #por cuanto tiempo se va a encender
ledR.value8 #indico que apago el LED
sleep