May-14-2018, 04:37 PM
pyserial is a nifty little module. I'm using it to communicate with 2 serial ports on my ARM eveluation board. It even allows me to send DSR which is essential for me.
However I want to receive from serial port character by character, not wait until a newline char is received as per .readline()
.read() also blocks waiting for a \n
How do I get each character as they arrive?
However I want to receive from serial port character by character, not wait until a newline char is received as per .readline()
.read() also blocks waiting for a \n
How do I get each character as they arrive?