from machine import Pin
import utime
led1=Pin (12,Pin.OUT)
boton1=Pin (15,Pin.IN)
boton2=Pin (4,Pin.IN)
while (True):
    if (boton1.value()==0):
        led1.value(1)
    if (boton2.value()==0):
        led1.value(0)