Here is the outline,
I want to have a menu system accessible by buttons on my project. The display will be a 20x4 LCD Display and there will be 6 buttons as follows:
- UP
- DOWN
- LEFT
- RIGHT
- OK
- CANCEL
Now the basic idea of how these would work is have an interrupt port setup for each button (but thats 6 ports!). So now the question,
How could i achieve this, but only use the minimal number of ports?
I though about using a PISO Shift Reg, but then remembered it would need a clock etc and someway for the ND to know that data is coming in (i think).
I then there is the Matrix style setup but i would only save 1 pin (2 cols and 3 rows = 5 lines).
Any suggestions, fancy IC's or fancy components that will let be achive this goal?
Thanks for your continued support.
Stuart