new class for managing heating
This commit is contained in:
18
src/Heating.h
Normal file
18
src/Heating.h
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user