from machine import Pin
import time

print ("Hello!! Welcome to Shelyn's")

pinButton = Pin(14, Pin.IN, Pin.PULL_UP)
pinLED = Pin(15, Pin.OUT)

while True:
    if not pinButton.value():
        pinLED.on()
        print("LED on")
    else:
        pinLED.off()
        print("LED off")
    time.sleep(0.1)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT