flush()
Description
Waits for the transmission of outgoing serial data to complete.
flush()
inherits from the Stream utility class.
Syntax
All boards:
Serial.flush()
Serial1.flush()
86Duino One specific:
Serial2.flush()
Serial3.flush()
Serial485.flush()
86Duino EduCake specific:
Serial2.flush()
Serial3.flush()
Serial232.flush()
Parameters
none
Returns
nothing
See also
- Serial
- available()
- begin()
- end()
- find()
- findUntil()
- parseFloat()
- parseInt()
- peek()
- print()
- println()
- read()
- readBytes()
- readBytesUntil()
- setTimeout()
- write()
- serialEvent()
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.