Abdellazizhammami / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Serial.flush() Reference web page #752

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

Original comment by dmel...@gmail.com on 28 Dec 2011 at 1:51

GoogleCodeExporter commented 8 years ago
thanks

Original comment by txu...@gmail.com on 28 Dec 2011 at 3:39