new class for managing heating

This commit is contained in:
2020-11-10 17:38:33 +01:00
parent e0a27bf155
commit de792719ee
7 changed files with 109 additions and 14 deletions

18
src/Heating.h Normal file
View File

@@ -0,0 +1,18 @@
//
// Created by lukas on 10.11.20.
//
#pragma once
#include <Ticker.h>
#include "Temperature.h"
class Heating {
public:
void init(Temperature* tempsensor);
private:
Ticker mHeizungTicker;
Ticker mLuefterTicker;
bool mFanWaiting;
};