8 years, 11 months ago.

Refresh serial communication

I writing a modbus slave protocol for a KL25Z, however I don't know how I clean the buffer of serial connection. In Arduino exists the function serial.flush(), exist the same function in mbed?

Question relating to:

Be the first to answer this question.