Search wiring.org.co:

Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.

Class | Serial
Name |

### flush()

Examples |
    Serial.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 |

serial | The hardware serial port, it can be Serial, Serial1 or if available Serial 2, Serial3.

Returns | None
Usage | Application

Updated on July 07, 2011 11:08:54pm PDT