Every command to a battery takes 5 seconds because you use readline(). Every response from a battery ends with CR, not LF. Wouldn't it be better to use read_until(b'\r') instead?
That said, I have learned a lot from your project because of its completeness. Thank you!
Every command to a battery takes 5 seconds because you use readline(). Every response from a battery ends with CR, not LF. Wouldn't it be better to use read_until(b'\r') instead?
That said, I have learned a lot from your project because of its completeness. Thank you!