I would like to create a serial port event in python to check if there is any data coming from the serial port.

how events in python are created

Jun.06,2022

generally speaking, when the serial port (hardware) receives data, the serial port driver notifies the operating system, and the operating system informs the application that opens the serial port (your python here).


Hello, you can use the serial library to achieve your needs.

Menu