neazoi
Advanced Member level 6
- Joined
- Jan 5, 2008
- Messages
- 4,157
- Helped
- 13
- Reputation
- 26
- Reaction score
- 15
- Trophy points
- 1,318
- Location
- Greece
- Activity points
- 37,198
This is how this scheme works,
All rows will be fed with high, and one by one will be given low. If you press some particular key
The output will be low for the corresponding column when grounding corresponding row.
. I was thinking of somehow detect a short circuit between two pins of the micro, .
You'll have to wait several ms in the interrupt routine to detect which switch is pressed. Huge waste of processor time compared to the standard method of scanning the keyboard matrix in a timer interrupt, also involving more components.Here is one more approach
There is another way to do it, the code is simple but it does have some drawbacks, it is difficult to debounce.
There is another way to do it
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?