Closed mkothencz closed 5 years ago
No, that is not possible at the moment.
However, there's nothing stopping you from editing the AnalogMultiplex source code to add support for the enable pin. Just enable it upon entry of the AnalogMultiplex::analogRead
and AnalogMultiplex::digitalRead
functions, and disable it again before returning.
One thing to keep in mind is that you'll probably run out of RAM a long time before you run out of pins.
This has been implemented in tttapa/Control-Surface@c69bac999aaa2c373d4f4df503b217ada6f88165.
Hello,
I would like to connect three button multiplexer's output to one pin on an Arduino Leonardo. I would like to use multiplexer's enable input to select them in sequence.
Is this possible? (I tried to write ,,digitalWrite(Pin, LOW/HIGH)" before each Digital buttonsX[]={.... but not work.)
My code now: