from machine import Pin
import time
#-----Crear objetos---------------------
led25=Pin(25,Pin.OUT)
led1=Pin(1,Pin.OUT)
boton=Pin(0,Pin.IN, Pin.PULL_DOWN)
#------Super lazo----------------
while True: #Condicional
if boton.value()==1: #Condicional
led25.on()
led1.value(1)
time.sleep(5)
led25.off()
led1.value(0)