Details on switch matrix codes and macros
Posted: Wed Apr 22, 2009 1:02 pm
Sorry to bother you again but can you steer me in the direction of code for say a 4 x 4 keypad matrix.
I have the basic idea 4 x columns x 4 x rows. Each column is made high in turn by setting the equal port to a 1 and each row is read in turn (for each cloumn and checked for a high.
I'm guessing the next step is a decision that in turns assigns a value to a variable and after all the rows are read for each column going to 1 the variable is then acted on in some way.
Are you able to offer further advice please.
Are you also able to advise whether there is any repository of flowcode amcros other then the few examples shown in the examples section of the website
Thanks
Ian Burrows
I have the basic idea 4 x columns x 4 x rows. Each column is made high in turn by setting the equal port to a 1 and each row is read in turn (for each cloumn and checked for a high.
I'm guessing the next step is a decision that in turns assigns a value to a variable and after all the rows are read for each column going to 1 the variable is then acted on in some way.
Are you able to offer further advice please.
Are you also able to advise whether there is any repository of flowcode amcros other then the few examples shown in the examples section of the website
Thanks
Ian Burrows