Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

new lines contain to many characters #11

Open
jellevervloessem opened this issue Apr 19, 2021 · 0 comments
Open

new lines contain to many characters #11

jellevervloessem opened this issue Apr 19, 2021 · 0 comments

Comments

@jellevervloessem
Copy link

New lines contain to many characters, being the characters of previous longer lines.
therefor I moved the memset in the while loop so every line gets cleared after being read.

memset(telegram, 0, sizeof(telegram));

I edited this in my fork: https://github.com/jellevervloessem/esp8266_p1meter/blob/a90aae075a32996490c3d6374bd99bffcd4074da/esp8266_p1meter/esp8266_p1meter.ino#L482

Not sure, but I think this is also failing the CRC.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant