serial.flush

serial.flush

serial.flush

Function

Flushes the output buffer of an open serial port.

Syntax

Parameters

No parameters.

Return value

TypeDescription
BoolReturns true if the refresh is successful.

Example

Notes

  • Throws an underlying device error on failure.