To store values permanently when Waspmote is switched off or when it goes to hibernate mode, it is necessary to use the microcontroller's EEPROM (4 kB) non-volatile memory.
- Addresses from 0 to 1023 are reserved. Do not try to write at these addresses. Factory values can be overwritten and your device can become unresponsive.
- Addresses from 1024 to 4095 are available.
- Use the EEPROM to save variables if the program is designed to reset Waspmote or to enter in Hibernate state (in which cases, all variables will be reset too). The use of the EEPROM can help to keep current conditions or current variables even if we reset or hibernate Waspmote.
- WaspStackEEPROM can use the EEPROM memory as a LIFO stack to allow save frames or other kind or data.