physee / Victron.Arduino-ESP8266

Code to read the VE.Direct-Protocol from serial into a value array. Uses a non-blocking read loop and does checksum verification before adding the data.
MIT License
120 stars 22 forks source link

Empty values when printing #4

Open axwell opened 5 years ago

axwell commented 5 years ago

Hello,

i'm trying to figure out why when increasing the print time from 1 second to 30 seconds i always get empty values. Any thoughts?

PS: 5 seconds, 10 or 15 seems ok.

deswong commented 4 years ago

This could just be a timing issue when the data has been updated? Always ensure that the checksum has been calculated correctly, and then if that is valid, use that posted result.

I haven't been able to replicate that particular issue in my setup, however I am using hardware serial rather than software serial.