19 lines
282 B
C++
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();
|
|
}; |