iot-heater/lib/settings/settings.h
Gašper Dobrovoljc 59252e81b0
Added settings
2023-02-19 14:16:00 +01:00

19 lines
282 B
C++

class Settings {
public:
Settings();
void load();
void setRefreshInterval(unsigned long);
long getRefreshInterval();
void setSensorPin(unsigned int);
unsigned int getSensorPin();
private:
unsigned long refreshInterval;
unsigned int sensorPin;
void save();
};