import machine
from machine import Pin
#Salidas
ledRojo = Pin(1, Pin.OUT)
#Entradas
SliderA = Pin(4, Pin.IN,Pin.PULL_UP)
SliderB = Pin(5, Pin.IN,Pin.PULL_UP)
SliderC = Pin(6, Pin.IN,Pin.PULL_UP)
while True:
A = SliderA.value()
B = SliderB.value()
C = SliderC.value()
AND = ((A and B and C))
ledRojo.value(AND)