"""import time
time.sleep(0.1) # Wait for USB to become ready
print("Hello, Pi Pico!")"""
from machine import Pin
import time
button = Pin(12,Pin.IN,Pin.PULL_DOWN)
led = Pin(1, Pin.OUT)
while True:
if button.value():
led.toggle()
time.sleep(0.5)
#mmerlosg
#Experiment: create a light switch with an led and button
#requirements: LED light, Register, and a Button