Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Multiple Key Press using AVR ATmega128 and 4x4 keypad

Status
Not open for further replies.

sa4250mnpo70

Newbie level 6
Joined
Jul 19, 2011
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,397
Hello everyone....

I have bought a 4x4 matrix keypad and wish to implement it in my project involving AVR ATmega128.
I have successfully tested it and am able to detect SINGLE key-presses.

Next I wanted to implement mobile-phone type keypad using my 4x4 keypad where suppose i press a key
one then "1" is displayed but if i press the SAME KEY twice then "A" is displayed and similarly if I press the SAME KEY
THREE times in a row then "B" is to be displayed. This goes for all keys until a fully Alpha-Numeric keypad
is established.
That is the problem I am facing. I am unable to detect multiple key presses of the SAME KEY.
Also, the code needs to be small so that not much CPU Time is consumed there because
I have other big issues to take care with the CPU.

I would appreciate any help from you. Any code links would greatly ease my problems.
I have been searching GOOGLE for days but all in vain.

Thank you in advance..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top