Page 1 of 1

Keypad to Eeprom writing

Posted: Tue Sep 16, 2008 4:31 pm
by davelarner
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

Re: Keypad to Eeprom writing

Posted: Wed Sep 17, 2008 9:16 am
by Benj
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.

Re: Keypad to Eeprom writing

Posted: Thu Sep 18, 2008 10:49 am
by davelarner
Thank you. I have a working piece of code just have to refine it a bit.
David.