Index
 
  Reference for Wiring 1.0 (ALPHA) 0020+. 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.
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 serial port, it can be Serial or Serial1

   
Returns   None
   
Usage   Application