Browse Source
uart.flush() flush() will wait until all characters but the last one have been sent. It returns while the last character is sent. If needed, the calling code has to add one character wait time. To avoid a permanent lock, a timeout applies depending on the size of the FIFO and the baud rate. ret = uart.txdone() ret is True if no transfer is in progress. It returns already True when the last byte of a transfer is sent. ret is False otherwise.pull/9156/head
robert-hh
2 years ago
committed by
Damien George
3 changed files with 34 additions and 0 deletions
Loading…
Reference in new issue