serial-port
serial-port copied to clipboard
asyncio impl disconnects after just 2 values recieved
Hi, my arduino is sending a number every second via serialport.
I am trying to use your async implementation to read this number in a callback function. For some reason the connection is broken after just 2 numbers have been recieved. I know that the arduino just keeps sending...Do you have any idea why it might be disconnecting?
Can you share a snippet of your code showing how do you initialize the serial port class (and which class are you using exactly), as well as the reading code?