Fixed build issue
This commit is contained in:
parent
bfc7308cce
commit
853f1d0fe8
14 changed files with 172 additions and 115 deletions
|
|
@ -1,11 +1,14 @@
|
|||
#ifndef PROTOCOLOREGON_H
|
||||
#define PROTOCOLOREGON_H
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "HalInterfaces.h"
|
||||
|
||||
class ProtocolOregon : public ProtocolTemperature : public ProtocolPower
|
||||
|
||||
class ProtocolOregon : public ProtocolTemperature, public ProtocolPowerConsumption
|
||||
{
|
||||
public:
|
||||
ProtocolOregon(unsigned char address) : address(address){}
|
||||
ProtocolOregon(unsigned char address) : address(address){};
|
||||
|
||||
virtual void setup();
|
||||
virtual void setTemperature(float temp);
|
||||
|
|
@ -14,8 +17,8 @@ public:
|
|||
virtual void send();
|
||||
private:
|
||||
unsigned char address;
|
||||
unsigned float temperature;
|
||||
float temperature;
|
||||
unsigned char humidity;
|
||||
};
|
||||
|
||||
#endif // PROTOCOLOREGON_H
|
||||
#endif // PROTOCOLOREGON_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue