from machine import Pin
from utime import sleep

led = Pin(0,Pin.OUT)
pulsador=Pin(4,Pin.IN,Pin.PULL_DOWN)

while True:
    if pulsador.value()==1:
        led.toggle()
        sleep(0.03)

    
    
$abcdeabcde151015202530354045505560fghijfghij
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT