from machine import Pin
import utime
LED1 = Pin(26, Pin.OUT)
button = Pin(0, Pin.IN)
while True:
    if button.value()== 0:
        LED1.value(1)
    else:
        LED1.value(0)  

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