added getTemperature_Actual. Include guard in debugport.h.
This commit is contained in:
parent
668870580e
commit
2e9dfba3fc
3 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
#include <ArduinoOTA.h>
|
||||
#include <Arduino.h>
|
||||
#include "BTCWifi.h"
|
||||
#include "DebugPort.h"
|
||||
|
||||
void initOTA();
|
||||
void DoOTA();
|
||||
|
|
|
@ -156,6 +156,7 @@ public:
|
|||
unsigned char getTemperature_Desired() { return Controller.DesiredTemperature; };
|
||||
unsigned char getTemperature_Min() { return Controller.MinTemperature; };
|
||||
unsigned char getTemperature_Max() { return Controller.MaxTemperature; };
|
||||
unsigned char getTemperature_Actual() { return Controller.ActualTemperature; };
|
||||
void setThermostatMode(unsigned on) { Controller.OperatingMode = on ? 0x32 : 0xCD; };
|
||||
// glow plug
|
||||
short getGlowPlug_Current(); // glow plug current
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#include <Arduino.h>
|
||||
|
||||
#ifndef __DEBUGPORT_H__
|
||||
#define __DEBUGPORT_H__
|
||||
|
||||
class CProtocol;
|
||||
|
||||
#if defined(__arm__)
|
||||
|
@ -11,3 +14,4 @@ static HardwareSerial& DebugPort(Serial); // reference Serial as DebugPort
|
|||
|
||||
void DebugReportFrame(const char* hdr, const CProtocol& Frame, const char* ftr);
|
||||
|
||||
#endif // __DEBUGPORT_H__
|
||||
|
|
Loading…
Reference in a new issue