from machine import Pin
from time import sleep
ledGreen= Pin(28, Pin.OUT)
ledBlue= Pin(27, Pin.OUT)
ButtonGreen= Pin(3, Pin.IN, Pin.PULL_DOWN)
ButtonBlue= Pin(7, Pin.IN, Pin.PULL_DOWN)
while True:
    print("Aperte um Botao")
    if ButtonBlue.value() == 1:
        ledBlue.value(1)
        ledGreen.value(0)
        print("Botao Blue Pressionado")
    if ButtonGreen.value() == 1:
        ledGreen.value(1)
        ledBlue.value(0)
        print("Botao Green Presionado")
    else:
        ledBlue.value(0)
        ledGreen.value(0)
        sleep(0.1)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT