I have a device which has got 9 keys just like an ordinary mobile phone.
I want to print normal alphabets like ABCD using these 9 keys exactly the way mobile phones let you do it.
This is an embedded system programming project. I am unable to figure out the logic to implement this functionality.
I am detecting keys by polling and not by interrupt.
Can someone help? I will appreciate if you can point out related resources as well.
Here is a little keyboard decoding demo that should get you well on your way. You’ll need to rewrite the key scanning routine for your hardware. In addition, there will be some kind of timeout needed to select the same digit twice in a row. You should also have little trouble figuring out how to add support for capitalization, punctuation, and meta keys…