from machine import Pin
from time import sleep
ledrojo = Pin(15, Pin.OUT)
while True:
ledrojo.value(1)
print("LED . ROJO ENCENDIDO")
sleep (5)
ledrojo.value(0)
print("LED . ROJO APAGADO")
sleep (2)from machine import Pin
from time import sleep
ledrojo = Pin(15, Pin.OUT)
while True:
ledrojo.value(1)
print("LED . ROJO ENCENDIDO")
sleep (5)
ledrojo.value(0)
print("LED . ROJO APAGADO")
sleep (2)