Page 1 of 1

4x4 keypad examples

Posted: Tue Apr 17, 2012 6:40 pm
by Bobw
Looking at possibly using a keypad as opposed to several switches.
I have been playing with the sample file that displays the number for the key you pressed.
Is there a sample file that will display a number based on several key presses to be passed to a variable?
I need to use both negative and positive numbers from 1 to 3 digits.
I think I now understand how the keypad generates either a number or a byte, but grouping them together was escaping me.

Bob

Re: 4x4 keypad examples

Posted: Tue Apr 17, 2012 8:25 pm
by medelec35
Hi Bob, there are different ways of doing this.
One way can be found in this flowchart:
http://www.matrixmultimedia.com/mmforum ... 565#p34486

Martin

Re: 4x4 keypad examples

Posted: Wed Apr 18, 2012 2:20 pm
by Bobw
Martin,
Thanks, I will give it a look.

Re: 4x4 keypad examples

Posted: Wed Apr 18, 2012 4:25 pm
by Bobw
Wow
Many things going on there. Won't be able to pick it apart till this weekend.
I think I see how you are keeping track of the entered numbers.
Will try to save off what I come up with so others can use it.

Bob