import machine
from machine import Pin
from machine import Pin, PWM
import utime
infrarrojo1 = Pin(34, Pin.IN)
botonR = Pin(25, Pin.IN)
buzzer1 = Pin(27, Pin.IN)
while True:
lectura1 = infrarrojo1.value()
fIn = botonR.value()
if lectura1 == True:
buzzer1.value(1)