Simon Zeyer 47ca2d7164 Implement configuration of freezer name and uT/oT via Web
store names and ut/ot values in internal storage

load on boot data from internal storage if set, else fall back to settings.h values
2022-07-13 20:44:29 +02:00

30 lines
589 B
C++

#include <OneWire.h>
#include <DallasTemperature.h>
class Truhe {
private:
OneWire _oneWire;
DallasTemperature _sensors;
int _relay;
uint8_t _sensorpin;
int _stat = -1;
float _cur_temp = 0;
int _updlcd = 0;
String _name = "";
int _uT;
int _oT;
public:
Truhe(String, int, uint8_t);
void setup(String, int, int);
void mess();
void schalt();
int getUpdLcd();
void setUpdLcd(int);
int getRelay();
int getSensorPin();
int getStat();
int getCurTemp();
String getName();
int getuT();
int getoT();
};