Increased max line length to avoid wrong CRC fixes #8

This commit is contained in:
Bas van Dijk 2018-08-10 18:57:44 +02:00
parent 452a57fa77
commit 2b04033dbf

View File

@ -29,7 +29,7 @@ long mGAS = 0; //Meter reading Gas
long prevGAS = 0; long prevGAS = 0;
#define MAXLINELENGTH 64 // longest normal line is 47 char (+3 for \r\n\0) #define MAXLINELENGTH 128 // longest normal line is 47 char (+3 for \r\n\0)
char telegram[MAXLINELENGTH]; char telegram[MAXLINELENGTH];
#define SERIAL_RX D5 // pin for SoftwareSerial RX #define SERIAL_RX D5 // pin for SoftwareSerial RX