Serial.Flush History

Hide minor edits - Show changes to output

January 30, 2012, at 05:13 PM by Scott Fitzgerald -
Changed lines 29-30 from:
* [[Serial.read]]()
* [[Serial.available]]()
to:
(:include Reference/SerialSeeAlsoIncludes:)\\
December 28, 2011, at 02:51 PM by David A. Mellis -
Changed lines 7-10 from:
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().

Serial.flush() waits for outgoing data to transmit before clearing the buffer contents.
to:
Waits for the transmission of outgoing serial data to complete. (Prior to Arduino 1.0, this instead removed any buffered incoming serial data.)
November 04, 2011, at 06:05 PM by Scott Fitzgerald -
Changed lines 7-8 from:
Flushes the buffer of incoming serial data. That is, any call to Serial.read() or Serial.available() will return only data received after all the most recent call to Serial.flush().
to:
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().
Added lines 11-12:
flush() inherits from the [[Reference/Stream]] utility class.
Changed lines 33-34 from:
to:
* [[/Reference/StreamFlush | Stream.flush()]]
September 07, 2011, at 05:13 PM by Scott Fitzgerald -
Added lines 9-10:
Serial.flush() waits for outgoing data to transmit before clearing the buffer contents.
February 01, 2010, at 05:21 PM by David A. Mellis -
Changed lines 1-2 from:
!!Serial.flush()
to:
[[Reference/Serial]]

!!flush()
Added lines 9-16:
!!!!Syntax
Serial.flush()

''Arduino Mega only:'' \\
Serial1.flush() \\
Serial2.flush() \\
Serial3.flush()
Changed lines 23-24 from:
none
to:
nothing
March 03, 2007, at 08:46 PM by David A. Mellis -
Changed lines 5-6 from:
Flushes the buffer of incoming serial data. That is, any call to Serial.read() or Serial.available() will return data received after all the most recent call to Serial.flush().
to:
Flushes the buffer of incoming serial data. That is, any call to Serial.read() or Serial.available() will return only data received after all the most recent call to Serial.flush().
December 19, 2006, at 05:27 PM by David A. Mellis -
Changed line 20 from:
[[HomePage | Reference Home]]
to:
[[Reference.HomePage | Reference Home]]
December 19, 2006, at 05:27 PM by David A. Mellis -
Added lines 1-20:
!!Serial.flush()

!!!!Description

Flushes the buffer of incoming serial data. That is, any call to Serial.read() or Serial.available() will return data received after all the most recent call to Serial.flush().

!!!!Parameters

none

!!!!Returns

none

!!!!See also

* [[Serial.read]]()
* [[Serial.available]]()

[[HomePage | Reference Home]]

Share