digi001
Full Member level 5
- Joined
- Apr 5, 2011
- Messages
- 244
- Helped
- 22
- Reputation
- 44
- Reaction score
- 21
- Trophy points
- 1,298
- Activity points
- 2,904
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?