What is the maximum of input/outputs usable with MEGA + Mux shield ?

hi mates,

I would like to know what is What is the maximum of input/outputs usable with MEGA + Mux shield ?

Indeed, with this mux shield, I can use 48 in/out pins by using only 7 pins of the MEGA.
Can I use others shift register on the other MEGA pins ?

Indeed, I'd need around 60 Leds + 60 buttons.

I guess the answer is yes, because I can have others SR chains.
But I'm not sure !!

any infos would be appreciate :slight_smile:

best,

The MUX Shield has three 16-way multiplexers (not shift registers). The multiplexers act as selector switches. You put an address from 0 to 15 on pins 2,3,4,and 5 and read from the three multiplexers on pins A0, A1, and A2.

You can't just stack the MUX Shield to get another 48 inputs but you can share the address pins (2-5) and hook the multiplexers to other analog pins (like A3, A4, and A5) for reading.

Because the multiplexers are two-way switches you CAN use them for outputs but you can only do HIGH/LOW outputs (not PWM) and you can only output to the three pins referenced by the address. If you change any of the address pins your three outputs now show up on different MUX Shield pins. (Not very practical).