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

History

UART FLUSH - FINAL COMMIT; PROGRAM TESTED AND COMPILED SUCCESSFULLY; ; JAYDEEP SHAH - radhey04ec@gmail.com default tip

2020-07-24, by radhey04ec [Fri, 24 Jul 2020 10:37:58 +0000] rev 0

UART FLUSH - FINAL COMMIT; PROGRAM TESTED AND COMPILED SUCCESSFULLY; ; JAYDEEP SHAH - radhey04ec@gmail.com