arhi
Member
I needed it few hours ago and was unable to find anything "ready to use" so I made it myself.... The principle is fairly simple ... add few resistors to the keypad so you get different resistance for each key, use that resulting keypad as voltage divider (vpp to gnd) and feed the output to ADC of your uC... read the adc, decode the key pressed 
Attached is schematic (small pic using adc to get the info from keypad and 2 shift's to turn on the "approprate" led). The attached code is in MikroC but it is really simple to write it in any language.
Attached is schematic (small pic using adc to get the info from keypad and 2 shift's to turn on the "approprate" led). The attached code is in MikroC but it is really simple to write it in any language.