iot-heater/lib/settings/settings.h

19 lines
282 B
C
Raw Normal View History

2023-02-19 13:16:00 +00:00
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();
};