Keypad use in Flowcode
Posted: Wed Dec 17, 2008 3:08 pm
Hi there,
I would like to read 3 numbers from the keyboard using the "GetKeypadNumber" macro.
I copy these 3 numbers into 3 variables at the moment, called digit1, digit2 and digit3.
I also copy the value of these digits into Eprom.
For my current project I need the 3 digits into one variable.
For example, 1, 3, 5 gives digit1 = 1, digit2 = 3, digit3 = 5.
I want to copy this into a variable, called total.
This should give total = 135. (or anything else between 0 and 255)
Is this possible, and how can I do this?
Please give me some tips on this subject.
Best regards, Rinie
I would like to read 3 numbers from the keyboard using the "GetKeypadNumber" macro.
I copy these 3 numbers into 3 variables at the moment, called digit1, digit2 and digit3.
I also copy the value of these digits into Eprom.
For my current project I need the 3 digits into one variable.
For example, 1, 3, 5 gives digit1 = 1, digit2 = 3, digit3 = 5.
I want to copy this into a variable, called total.
This should give total = 135. (or anything else between 0 and 255)
Is this possible, and how can I do this?
Please give me some tips on this subject.
Best regards, Rinie