digi001
Full Member level 5
I am looking to read 16 digital inputs using only 4 GPIO Lines.
This would be straight forward using an Encoder if i could guarantee that only 1 of the 16 lines can be active at a time. However any combination of these may be possible.
How could I accomplish this?
I think if I scan the lines with 4 Reads I should be able to decode this problem. Do they make chips to do this?
This would be straight forward using an Encoder if i could guarantee that only 1 of the 16 lines can be active at a time. However any combination of these may be possible.
How could I accomplish this?
I think if I scan the lines with 4 Reads I should be able to decode this problem. Do they make chips to do this?