UART buffer flush
l am using below code to wait for the UART data and take action accordingly. It works for the first time but once I receive some data uart.any() is always true after that. The uart buffer doesn't get clear it seems. Please check.
data = uart.readall()
print("data received over UART:"+str(data))
Objective is to send data only when there is a new data available over uart.
This post is deleted!
Yes, it seems to be the same issue. When can I expect a fix for this?
Any work around? any other api to check new data arrival at UART?
@sameerchouksey It could be related to this issue:
That is about to be fixed soon.