#Pull-up Working Mode
import machine
import utime
led = machine.Pin(1, machine.Pin.OUT)
button = machine.Pin(14, machine.Pin.IN)
while True:
    if button.value() == 0:
      led.value(1)
    else:
      led.value(0)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT