gday i have done some programming with the 8088 but in assembler.
basically the keypad is a matrix like this
------ * * * *
------ * * * *
------ * * * *
------ * * * *
| | | |
| | | |
+5 +5 +5 +5
and is connected to what ever on lets say for of the lines you would have
tied them high to +5volts.
You rotate a zero on each of the ---- , when someone hits a key they will
send one of the high lines low.
Lets say someone hit the number one (top left hand corner) the first +5
volts goes low so you will have a binary lookin something like this (----)
0111 0111 using this you set up a table to point to the number one.
Umm i dont know if this will work for a serial line you may have to do some
hardware decoding to make the serial into paralell otherwise i hope this
helped in some way
At 11:29 21/09/98 +0800, you wrote:
>hi everyone...i am suppose to program a 4x4 keypad attached to the serial
>pot of a intel 8051..i have no idea about programming a keypad..can anyone
>give some idea or explain the concept of programming a keypad...thank you
>in advance...
>
>regards
>ragavan
>
>*******************************************************************************
>* RAGAVAN ARUMUGAM 65 LORONG KULIT PENANG 10460 04-2288627 *
>* email: [EMAIL PROTECTED] *
>*******************************************************************************
>
>