Hi, i am new to ucontroller programming. I wanted to make some password and 7-segment display projects using 4x4 matrix keyboard as input, in C. I just need some simple example links or sample code or part to understand how to decode the keypad inputs. Thanks in advance.
In other words, what you don't need is any source code at all!
What you do need is a basic understanding of the principles - irrespective of any processor, programming, or compiler.
You may be better to start looking for books or sites on basic (digital) electronics...
I knew basic concepts of Digital as well as C programing. That only made me to complete handson on led blinking, 7-segment driving, LCD display driving etc. that too googling myself and some reference books.
Right now i am experimenting with keypad and RS232 serial communication with 89c51. Even again and again going through the code for keypad to understand, i feel difficult to catch every steps. Anyhow i am going through your code. Will try to catch the concept soon. If i have doubt, the only option is asking others experts. Thats wat created the thread in this topic.
just a bit of help
keys must be debounced
Erik
You can use the Keypad encoder IC such as DFL-KEY55A or DFL-Key55B, which can convert the key pressed to RS232. Click on www.dafulaielectronics.com
You can use the Keypad encoder IC