2020-11-10 17:38:33 +01:00
|
|
|
//
|
|
|
|
|
// Created by lukas on 10.11.20.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <Ticker.h>
|
|
|
|
|
#include "Temperature.h"
|
|
|
|
|
|
|
|
|
|
class Heating {
|
|
|
|
|
public:
|
2020-11-17 15:26:17 +01:00
|
|
|
void init(Temperature* tempsensor, unsigned mode);
|
|
|
|
|
|
|
|
|
|
enum MODES {TIME, HUMIDITY};
|
2020-11-10 17:38:33 +01:00
|
|
|
private:
|
|
|
|
|
Ticker mHeizungTicker;
|
|
|
|
|
Ticker mLuefterTicker;
|
2020-11-17 15:26:17 +01:00
|
|
|
Ticker mTurnOffTicker;
|
2020-11-10 17:38:33 +01:00
|
|
|
|
|
|
|
|
bool mFanWaiting;
|
|
|
|
|
};
|