The web reference not is correct.
Copy&Paste Actual (21 december 2011) from: http://arduino.cc/en/Serial/Flush
Flushes the buffer of incoming serial data. Any call to Serial.read() or
Serial.available() will return only data received after all the most recent
call to Serial.flush().
But the Serial.flush() command has been repurposed.
But the behavior of Serial.flush() changed in Arduino 1.0, now it waits for
outgoing characters to be sent.
Original issue reported on code.google.com by txu...@gmail.com on 21 Dec 2011 at 5:08
Original issue reported on code.google.com by
txu...@gmail.com
on 21 Dec 2011 at 5:08