Write Nonvolatile Memory

There are six Nonvolatile Memory Items in the Module. As the name suggests, these are retained even after a power loss. NV Items are each 2B in length; NV Items 5 & 6 are each 16B in length. These may be used by your application for anything. This example demonstrates how to write to the NV Items. After starting the application it prompts you for which NV item to write, from 1 to 6. Then it uses the sysNvWrite method to write to the selected NV item in the Module. Again, we check the zmResult variable to be sure that the operation was a success.



This Example also demonstrates the use of a Function Pointer.

Next Example: Read Nonvolatile Memory

Previous: Get Random

Top: Module_Examples