Reference for Wiring version 0024+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.
| Class | Serial |
||
|---|---|---|---|
| Name | flush() |
||
| Examples | Serial1.flush(); |
||
| Description | Flushes the serial port buffer. Further calls to read() and available() will return data received after the flush() command was issued. | ||
| Syntax | serial.flush() |
||
| Parameters |
|
||
| Returns | None | ||
| Usage | Application |

