[Serial]
描述
Waits for the transmission of outgoing serial data to complete.
flush()
inherits from the Stream utility class.
語法
適用所有板子:
Serial.flush()
Serial1.flush()
適用 86Duino ONE:
Serial2.flush()
Serial3.flush()
Serial485.flush()
適用 86Duino EduCake:
Serial2.flush()
Serial3.flush()
Serial232.flush()
參數
無
回傳
nothing
參考
- if (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.