Python serial port listener
问题 I've begun writing some code using PySerial to send and receive data to a serial device. Up until now I've only been working on initiating a transaction from a terminal and receiving a response from the serial device. pseudo: main: loop: message = get_message() send_to_serial(message) time_delay(1 second) read_response() Now I'd like to implement a listener on that port in the case that the serial device is the one initiating the communication. Also to remove the time_delay which could end up