Hi following is the routine i found at net for 4x4 matrix keypad in C.
www.8051projects.net/.../8051-programming.php
can i use this to display digits using the keypad inputs or do i need any keypad numabers matrix to be assigned?. If yes, Can sombody reply me the simple main code[while(1)] to monitor the key lets say if 5 is pressed then make P1 as high or something like that?. I just want to display digit 5 using keypad.
Thanks in advance.
I would simply recommend that you always use spaces for indenting code - never use TABs!
The interpretation of TABs is entirely undefined - even different users of the same application may see different results due to different user settings!
The only thing you can be certain of with TABs is that they will not give reliable results!