UART SERIAL BUFFER CLEAR / FLUSH(). There is no direct function to clear UART buffer in Mbed, Trick require to handle this situation. Simple way is mentioned in this program to clear Rx buffer of UART. Jaydeep shah - radhey04ec@gmail.com

Committer:
radhey04ec
Date:
Fri Jul 24 10:37:58 2020 +0000
Revision:
0:3355c5b6d8fd
UART FLUSH - FINAL COMMIT; PROGRAM TESTED AND COMPILED SUCCESSFULLY; ; JAYDEEP SHAH - radhey04ec@gmail.com

Who changed what in which revision?

UserRevisionLine numberNew contents of line
radhey04ec 0:3355c5b6d8fd 1 https://github.com/ARMmbed/mbed-os/#cf4f12a123c05fcae83fc56d76442015cb8a39e9