Keypad to Eeprom writing
-
- Posts: 2
- Joined: Tue Sep 16, 2008 4:09 pm
- Contact:
Keypad to Eeprom writing
Is it possible to enter values from the keypad directly into the eeprom locations I haven't found anything in the tutorals too help . I would like to store 4 digits so they can be read back to modify the action of the program I am writing . Thank you for any help in advance ! David
- 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 to Eeprom writing
Hello
Tutorial 32 from the Flowcode V3/Examples folder might help you to create the basic program.
Basically you would just need to create a while loop to run 4 times. Each time round the loop wait until a key has been pressed on the keypad, Once the key has been pressed save the keypress to the EEPROM at location idx and then increment idx for the next iteration of the loop.
Tutorial 32 from the Flowcode V3/Examples folder might help you to create the basic program.
Basically you would just need to create a while loop to run 4 times. Each time round the loop wait until a key has been pressed on the keypad, Once the key has been pressed save the keypress to the EEPROM at location idx and then increment idx for the next iteration of the loop.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 2
- Joined: Tue Sep 16, 2008 4:09 pm
- Contact:
Re: Keypad to Eeprom writing
Thank you. I have a working piece of code just have to refine it a bit.
David.
David.