mirror of
https://github.com/micropython/micropython.git
synced 2026-01-09 21:50:31 +01:00
uart.flush() flush() will wait until all characters have been sent. To avoid a permanent lock, a timeout applies depending on the size of FIFO and the baud rate. ret = uart.txdone() ret is True if no transfer is in progress. ret is False otherwise.