Serial.flush()
Description
Waits for the transmission of outgoing serial data to complete.
flush() inherits from the Stream utility class.
Syntax
Serial.flush()
Parameters
Serial: serial port object. See the list of available serial ports for each board on the Serial main page.
Returns
Nothing
See also
-
LANGUAGE begin()
-
LANGUAGE end()
-
LANGUAGE available()
-
LANGUAGE read()
-
LANGUAGE peek()
-
LANGUAGE print()
-
LANGUAGE println()
-
LANGUAGE write()
-
LANGUAGE SerialEvent()
-
LANGUAGE stream.flush()