from machine import Pin
from utime import sleep
led_rojo = Pin(5, Pin.OUT)
while True:
led_rojo.value(1)
sleep(1)
print("on")
led_rojo.value(0)
sleep(1)
print("off")
Loading
esp32-devkit-c-v4
esp32-devkit-c-v4