An embedded project I'm working on requires the ability to read the status of up to 64 input ports - but obviously I want to use as few of my microcontroller pins as possible. Somewhere I heard of devices called 'sequencers' or something like that where you just feed it a clock signal and it turns on individual i/o pins in order and then wraps around to pin zero again (or is reset with a third line - which would seem better since you'd KNOW the thing would re-start on pin 0).
Something like this would be ideal since it would only consume three i/o pins on my controller. However, a quick google search didn't reveal any such devices. Maybe I'm not using exactly the right name for the things ? I'd heard of something like it for scan-writing to those big 60-odd-pin LCD chips, but I'm interested in READING a logic 0 or 1. Reset -> Read Pin 0 ->
Clock -> Read pin 1 -> repeat -> repeat -> repeat(N) -> reset.
Any info helpful. Reply to group.