Sorry, guess I forgot to ask....
The data does not seem to be written, or read (not sure which is failing). If I set the led to blink based on the value of the variable, it does not seem to correspond to the value I am writing.
Sorry, guess I forgot to ask....
The data does not seem to be written, or read (not sure which is failing). If I set the led to blink based on the value of the variable, it does not seem to correspond to the value I am writing.
Maybe this will help.
http://www.picbasic.co.uk/forum/show...7&postcount=15
Dave
Always wear safety glasses while programming.
Your programmer may be your friend here. My first choice is a humble PICkit2, which allows EEPROM data to be written and read back out too.
So you can set the initial value, run your program see it that works (to debug reads), then push your buttons and see if the correct value gets there (to debug your writes).
Bookmarks