from machine import Pin

print("Hello World")

led = Pin(25, Pin.OUT)
switch0 = Pin(26, Pin.IN)

while True:
    print(switch0.value())
    if switch0.value() == 0:
        led.value(0)  # LED ON (active LOW)
    else:
        led.value(1)  # LED OFF (active LOW)
