foamyguy_nvm_helper
¶
Easy interface to store and retrieve objects persisted via NVM. First 4 bytes are an int that contains the total size of bytes stored in nvm. Remaining space used to store data packed with msgpack.pack()
Author(s): Tim Cocks
Implementation Notes¶
Hardware:
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases
- foamyguy_nvm_helper.read_data(verbose: bool = False) Union[object, list, dict, int, float, str] ¶
- Parameters
verbose (bool) – Informative prints about reading and unpacking the data.
- Returns
The data object that was saved with save_data().