VictronVEDirectArduino icon indicating copy to clipboard operation
VictronVEDirectArduino copied to clipboard

Infinite loop when not plugged to VE

Open Damien3131 opened this issue 3 years ago • 0 comments

Hello

Thanks a lot for your work.

I use Wemos D1 mini ESP8266.

When no VEdirect device is pluged to the hardware serial port it seems there is an infinite loop on read function.

I can end it with millis() at the beginning and break in the while after 1 s of looping. But it seems not the best solution I think.

When you will have time it would be a good thing to make it possible not to have an infinite loop when no VEdirect device is plugged but a quick end of the read function.

Best regards

Damien3131 avatar Feb 19 '22 22:02 Damien3131