Alpha numeric keypad 4x4

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi guys. i am using 4x4 keypad with atmega 32. it is working fine . Now i want to convert this numeric keypad into alpha numeric keypad (the one used in old mobile keypads) i.e 2 abc, 3 def . if 2 is pressed once output will be 2 just like normal but if that key is pressed within prescribed time again output will be 'a'  and if the key is pressed 3 times output will be 'b' and if thrice the output will be 'c'. Any already developed code or algorithm available for this?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

There was a discussion about the same just a few weeks ago or so here at AVRfreaks.

 

http://www.avrfreaks.net/forum/h...

 

Didn't come to much substantial, as you see. But the idea of using a state machine, which e.g., keeps timings since detected keystroke is a good one IMO.

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That's the thread I was looking for - thanks for finding it!