mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-19 22:16:33 +00:00
Software serial for development boards. Added a few extra boards
This commit is contained in:
@@ -18,8 +18,8 @@ public:
|
||||
bool compensateFor09HeaderBug = false;
|
||||
|
||||
HanReader();
|
||||
void setup(HardwareSerial *hanPort);
|
||||
void setup(HardwareSerial *hanPort, Stream *debugPort);
|
||||
void setup(Stream *hanPort);
|
||||
void setup(Stream *hanPort, Stream *debugPort);
|
||||
bool read();
|
||||
bool read(byte data);
|
||||
int getListSize();
|
||||
@@ -30,7 +30,7 @@ public:
|
||||
|
||||
private:
|
||||
Stream *debug;
|
||||
HardwareSerial *han;
|
||||
Stream *han;
|
||||
byte buffer[512];
|
||||
int bytesRead;
|
||||
DlmsReader reader;
|
||||
|
||||
Reference in New Issue
Block a user