import machine
from machine import Pin
#definimos salida
LedRojoS = Pin(12,Pin.OUT)
#definimos entradas de datos
SliderE1 = Pin(5,Pin.IN,Pin.PULL_UP)
SliderE2 = Pin(4,Pin.IN,Pin.PULL_UP)
SliderE3 = Pin(2,Pin.IN,Pin.PULL_UP)
SliderE4 = Pin(15,Pin.IN,Pin.PULL_UP)
#definimos entradas de seleccion
SliderS1 = Pin(23,Pin.IN,Pin.PULL_UP)
SliderS0 = Pin(22,Pin.IN,Pin.PULL_UP)
while True:
E1 = SliderE1.value()
E2 = SliderE2.value()
E3 = SliderE3.value()
E4 = SliderE4.value()
S1 = SliderS1.value()
S0 = SliderS0.value()
E1 = (not S1 and not S0)
E2 = (not S1 AND S0)
E3 = (S1 and not S0)
E4 = (S1 and S0)
S = ((not ))