import machine
from machine import Pin
import time
pepe = Pin(25,Pin.OPEN_DRAIN)
boton = Pin(17,Pin.IN)
while True:
valor = boton.value()
pepe.value(valor)
import machine
from machine import Pin
import time
pepe = Pin(25,Pin.OPEN_DRAIN)
boton = Pin(17,Pin.IN)
while True:
valor = boton.value()
pepe.value(valor)