1#ifndef HUMIDISTAT_EEPROMCONFIG_H
2#define HUMIDISTAT_EEPROMCONFIG_H
76 uint16_t
save()
const;
struct ConfigStore defaultConfigStore
Load/save an (internal) ConfigStore in EEPROM.
void reset()
Reset the config store: overwrite the configStore with the default values.
uint16_t save() const
Saves current content of configStore into EEPROM.
bool load()
Load config values from EEPROM into configStore.
EEPROMConfig()
Constructor.
const uint8_t EEPROMAddress
EEPROM address for storing the block.
const uint16_t dt
Global interval for PID/logger (based on polling rate of sensor, in millis)
const double HC_totalFlowrate
Total flowrate (for cascade controller) (L/min)
const double S_lowValue
Minimum solenoid duty cycle (deadband)
const double a
Smoothing factor of EMA filter for derivative.
Config store containing variables, which can be stored in EEPROM.
char version[5]
String identifying this block.
double HC_totalFlowrate
Total flowrate (for cascade controller) (L/min)
double a
Smoothing factor of EMA filter for derivative.
double HC_Kp
Humidity controller PID parameters.
bool loadedFromEEPROM
Whether this has been loaded from EEPROM.
double FC_Kp
Flow controller PID parameters.
double S_lowValue
Minimum solenoid duty cycle (deadband)
uint16_t dt
Global interval for PID/logger (based on polling rate of sensor, in millis)