Go to the source code of this file.
Functions | |
void | saveSettings (Settings *ToSave) |
Store settings in EEPROM - Only updates changed bits. | |
Settings * | loadSettings (bool ResetEEPROM) |
Load settings from EEPROM. | |
void | restoreDefaults () |
Load sketch default settings into EEPROM. | |
Settings * loadSettings | ( | bool | ResetEEPROM | ) |
Load settings from EEPROM.
ResetEEPROM | - Force loading the defaults from the sketch and overwriting the EEPROM with it |
ResetEEPROM | if the function contains arguments with default values, they must be declared strictly before they are called, otherwise there is a compilation error: '<function name> was not declared in this scope. https://forum.arduino.cc/index.php?topic=606678.0 |
Definition at line 20 of file Settings.cpp.
void restoreDefaults | ( | ) |
Load sketch default settings into EEPROM.
Definition at line 45 of file Settings.cpp.
void saveSettings | ( | Settings * | ToSave | ) |
Store settings in EEPROM - Only updates changed bits.
Definition at line 10 of file Settings.cpp.