Thanks scalerobotics
You mean that we can store variables -live data- by EEPROM, aren't you?
However, explanation given by Melabs says that:
I understood that we can't store variables. If we want, we have to use WRITE.Store constants in on-chip EEPROM. If the optional Location value is omitted, the first EEPROM statement starts storing at address 0 and subsequent statements store at the following locations. If the Location value is specified, it denotes the starting location where these values are stored. Constant can be a numeric constant or a string constant. Only the least significant byte of numeric values are stored. Strings are stored as consecutive bytes of ASCII values. No length or terminator is automatically added.
Thanks
Edit: While I was writing, Melanie sent a reply.
Thanks Melanie,
Combatability seems to be logical reason. Can we say that we can use either of them without hesitation?
Some examples are given by Melabs on http://www.melabs.com/resources/pbpmanual/
Examples of DATA seem to be more complex than EEPROM. For example, you can skip some location while storing. But, there isn't such an example in EEPROM.
Thanks
Bookmarks