This commit is contained in:
Wolfgang Hottgenroth
2014-10-03 17:51:07 +02:00
parent 2b89c9736b
commit 68ae71db28
6 changed files with 16 additions and 53 deletions

View File

@ -8,7 +8,7 @@
#ifndef METERBUSCLIENT_H_
#define METERBUSCLIENT_H_
#include "uptime.h"
@ -52,9 +52,11 @@ struct MeterBusFrame {
class MeterBusClient {
public:
MeterBusClient();
void begin();
void begin(Uptime *uptime);
void exec();
private:
Uptime *m_uptime;
unsigned char m_address;
void setAddress(unsigned char address);
unsigned char getAddress();