what is the device that you are using, raspberry pi, arduino?
I'm thinking there must be a way to trigger an interrupt (event in python)
when there is a charater in the UART buffer.
Tell me device you are using, and type of serial (i2c, usart, spi, etc.)
Once I know this, I can look at your available options.
I'm thinking there must be a way to trigger an interrupt (event in python)
when there is a charater in the UART buffer.
Tell me device you are using, and type of serial (i2c, usart, spi, etc.)
Once I know this, I can look at your available options.