tinance2-doorbot/include/settings.h

21 lines
268 B
C
Raw Normal View History

2023-06-13 18:01:13 +00:00
#ifndef SETTINGS_H
#define SETTINGS_H
#include <Preferences.h>
class Settings {
private:
bool disableDoor;
public:
Settings();
void loadFromEEPROM();
void saveToEEPROM();
void setDisableDoor(bool value);
bool DoorDisabled();
};
#endif // SETTINGS_H