This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

7-sement digit display using Keypad.

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.