Page 1 of 1
Keypad 4x4
Posted: Sat Jul 13, 2019 8:15 pm
by Jan Lichtenbelt
Does someone has a MACRO for a 4x4 keypad (with A, B, C and D in the 4th column)?
Kind regards
Jan
Re: Keypad 4x4
Posted: Sun Jul 14, 2019 1:31 pm
by Jan Lichtenbelt
Some like this.
Essential is the global definition Keypad_to_Acsii with the wanted characters. This can be easily changed. This list must be extended with 255 for "not pressed". Two macros completes all: Get_Keypad and WiatUntilRealeased.
Kind regards
Jan
Re: Keypad 4x4
Posted: Mon Jul 15, 2019 10:02 am
by Benj
Hi Jan,
Can you send us a link or photo of your keypad layout. We can probably fairly easily create a new component with the right layout for you.
Re: Keypad 4x4
Posted: Mon Jul 15, 2019 1:03 pm
by Jan Lichtenbelt
Hi Ben
That would be wonderfull. Please find the picture of the keypad attached.

- Keypad_4x4_Alfa_Column4.jpg (100.28 KiB) Viewed 5637 times
Kind regards
Jan
Re: Keypad 4x4
Posted: Mon Jul 15, 2019 2:12 pm
by medelec35
Hi Jan,
What about using the Generic Keypad (use search: keypad), changing Columns and Rows to 4, then changing ascii returns and intfixed values?
Re: Keypad 4x4
Posted: Mon Jul 15, 2019 3:42 pm
by Benj
Thanks for the photo Jan,
I've created a new component for you and uploaded to the update system. Just change "Files in use" to "Full database" on the update window to get the new component.
The numeric values inside the component I've assigned like this.
1, 2, 3, 10
4, 5, 6, 11
7, 8, 9, 12
14,0,15,13
Hope this makes sense.
edit: I basically did what Martin suggested and then exported as a component. Either way will work fine

Re: Keypad 4x4
Posted: Mon Jul 15, 2019 4:28 pm
by Jan Lichtenbelt
Hi Martin,
It looks perfect your solution, but I could not find it.
I'm sorry.
Kind regards
Jan
-------
Hi Ben
It works fine! How a simple solution can make someone happy!
Kind regards
Jan
Re: Keypad 4x4
Posted: Mon Jul 15, 2019 5:01 pm
by Benj
Hi Jan,
Thanks for letting us know and glad it's working for you.
It looks perfect your solution, but I could not find it.
The generic Keypad component is no longer shown in a component category and is only available now via the Search.
Re: Keypad 4x4
Posted: Mon Jul 15, 2019 6:10 pm
by medelec35
Hi Jan,
Jan Lichtenbelt wrote:It looks perfect your solution, but I could not find it.
Hi Jan,
Sorry perhaps
medelec35 wrote:use search: keypad
Was not clear enough.
This is the method, both mysef and Ben are stating.
Re: Keypad 4x4
Posted: Mon Jul 15, 2019 6:18 pm
by Jan Lichtenbelt
Never to old (74) to learn something!
Thanks a lot
Jan
Re: Keypad 4x4
Posted: Mon Jul 15, 2019 6:25 pm
by medelec35
Indeed, never too old to learn!
Its a pleasure.
At least you now have two different solutions, which is way better then none!