|
Humidistat
Arduino firmware for a humidistat (humidity controller)
|
Load/save an (internal) ConfigStore in EEPROM. More...
#include <EEPROMConfig.h>
Public Member Functions | |
| EEPROMConfig () | |
| Constructor. | |
| bool | load () |
| Load config values from EEPROM into configStore. | |
| uint16_t | save () const |
| Saves current content of configStore into EEPROM. | |
| void | reset () |
| Reset the config store: overwrite the configStore with the default values. | |
Public Attributes | |
| ConfigStore | configStore |
Private Attributes | |
| uint8_t | address = config::EEPROMAddress |
Load/save an (internal) ConfigStore in EEPROM.
Definition at line 60 of file EEPROMConfig.h.
| EEPROMConfig::EEPROMConfig | ( | ) |
Constructor.
Definition at line 25 of file EEPROMConfig.cpp.
| bool EEPROMConfig::load | ( | ) |
Load config values from EEPROM into configStore.
Definition at line 5 of file EEPROMConfig.cpp.
| void EEPROMConfig::reset | ( | ) |
Reset the config store: overwrite the configStore with the default values.
Definition at line 29 of file EEPROMConfig.cpp.
| uint16_t EEPROMConfig::save | ( | ) | const |
Saves current content of configStore into EEPROM.
Definition at line 21 of file EEPROMConfig.cpp.
|
private |
Definition at line 62 of file EEPROMConfig.h.
| ConfigStore EEPROMConfig::configStore |
Definition at line 65 of file EEPROMConfig.h.