import machine
import time
LED_PIN = 0
BUTTON_PIN = 14
led = machine.Pin(LED_PIN, machine.Pin.OUT)
button = machine.Pin(BUTTON_PIN, machine.Pin.IN, machine.Pin.PULL_UP)
while True:
    if not button.value():
        led.on()
        print("LED ON1")
        time.sleep(0.5)
    else:
        led.off()
        print("LED OFF!")
        time.sleep(0.5)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT