Keypad 4x4

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Keypad 4x4

Post 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

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: Keypad 4x4

Post by Jan Lichtenbelt »

Some like this.
Keypad_4x4_V1.fcfx
(21.81 KiB) Downloaded 243 times
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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Keypad 4x4

Post 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.

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: Keypad 4x4

Post by Jan Lichtenbelt »

Hi Ben

That would be wonderfull. Please find the picture of the keypad attached.
Keypad_4x4_Alfa_Column4.jpg
Keypad_4x4_Alfa_Column4.jpg (100.28 KiB) Viewed 4675 times
Kind regards

Jan

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Keypad 4x4

Post 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?
4x4 Keypad.png
(95.52 KiB) Downloaded 1617 times
Martin

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Keypad 4x4

Post 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 :D

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: Keypad 4x4

Post 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
Keypad_4x4_V2.fcfx
(17.07 KiB) Downloaded 250 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Keypad 4x4

Post 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.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Keypad 4x4

Post 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.
Search.png
(23.7 KiB) Downloaded 1587 times
This is the method, both mysef and Ben are stating.
Martin

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: Keypad 4x4

Post by Jan Lichtenbelt »

Never to old (74) to learn something!

Thanks a lot

Jan

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Keypad 4x4

Post 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!
Martin

Post Reply