Simple test

Ensure your device works with this simple test.

examples/nvm_helper_simpletest.py
 1# SPDX-FileCopyrightText: Copyright (c) 2021 Tim Cocks for foamyguy
 2#
 3# SPDX-License-Identifier: Unlicense
 4import foamyguy_nvm_helper as nvm_helper
 5
 6nvm_helper.save_data(
 7    {"name": "nvm_helper", "num": 92, "float": 3.14}, test_run=False, verbose=True
 8)
 9read_data = nvm_helper.read_data()
10print("read data is:")
11print(read_data)