williB said:Yeah ,but say you wanted to add 9 switches to your project and you only had one input and one optput left..
a single 4017 seems like a viable solution
* ducks and covers *
:lol:
Yes, it's a viable solution, as I mentioned before, it's commonly used.
EDIT : Nigel can your matrix detect two switches being pressed at the same time ??
Yes, it only depends on the scanning software you write - the keyboard you're typing on now almost certainly uses software scanning of a keypad matrix (just bigger!), as do your remote controls, mobile phone, microwave oven - almost anything with any number of keys.