
Originally Posted by
Kamikaze47
from the PBP manual on the EEPROM command:
"The data is stored in the EEPROM space only once at the time the microcontroller is programmed, not each time the program is run. WRITE can be used to set the values of the on-chip EEPROM at runtime. READ is used to retrieve these stored DATA values at runtime."
If you intend the command where u use EEPROM to run every time you will have to use a series of WRITE commands instead.
Thanks for the input. The above code will only run once. Once values 6,9,7 will be written at location 134,135,136 - code will never enter again in this routine regardless of number of times of power cycles. Also it will write my phone number as well for once only.
The endless loop you see which toggles the portc.0 is just to test that this has been performed.
But its not working.
___________________
WHY things get boring when they work just fine?
Bookmarks