22 lines
329 B
C++
22 lines
329 B
C++
//
|
|
// Created by lukas on 10.11.20.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include <Ticker.h>
|
|
#include "Temperature.h"
|
|
|
|
class Heating {
|
|
public:
|
|
void init(Temperature* tempsensor, unsigned mode);
|
|
|
|
enum MODES {TIME, HUMIDITY};
|
|
private:
|
|
Ticker mHeizungTicker;
|
|
Ticker mLuefterTicker;
|
|
Ticker mTurnOffTicker;
|
|
|
|
bool mFanWaiting;
|
|
};
|