How to listen serial data without interruption

This is actually a rather challenging task, requiring a background thread constantly listening to the serial port. You might find inspiration in this example: clientserial.py.

2 Likes