VictronVEDirectArduino
VictronVEDirectArduino copied to clipboard
Infinite loop when not plugged to VE
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