Midi - 8 X 8 diode matrix vs 16:1 MUX
What is the difference between using an 8X8 diode matrix, and the CD74HC4067 16:1 mux?
On my other midi encoders, I use an 8X8 diode matrix to allow me to read 64 digital inputs (keys) but only use 16 wires to connect them to the midi interface. I have been told that you can use four CD74HC4067 16:1 mux's to do the same thing, or I am probably not understanding that fact. Could someone please be kind enough to explain this difference or similarity to me? Is it the same thing? If I use an 8X8 diode matrix to read 64 inputs, the code for that would be different to reading 64 inputs with four of the CD74HC4067 16:1 multiplexers. To use the four multiplexers, how many pins should I need on the Teensy LC? - I think to read the 8X8 diode matric, I would need 8 digital pins.
Any explanation would be highly appreciated.
Brian.
What is the difference between using an 8X8 diode matrix, and the CD74HC4067 16:1 mux?
On my other midi encoders, I use an 8X8 diode matrix to allow me to read 64 digital inputs (keys) but only use 16 wires to connect them to the midi interface. I have been told that you can use four CD74HC4067 16:1 mux's to do the same thing, or I am probably not understanding that fact. Could someone please be kind enough to explain this difference or similarity to me? Is it the same thing? If I use an 8X8 diode matrix to read 64 inputs, the code for that would be different to reading 64 inputs with four of the CD74HC4067 16:1 multiplexers. To use the four multiplexers, how many pins should I need on the Teensy LC? - I think to read the 8X8 diode matric, I would need 8 digital pins.
Any explanation would be highly appreciated.
Brian.