[Serial]
描述
Disables serial communication, allowing the RX and TX pins to be used for general input and output. To re-enable serial communication, call Serial.begin().
語法
適用所有板子:
Serial.end()
Serial1.end()
86Duino One/EduCake specific:
Serial2.end()
Serial3.end()
參數
無
回傳
nothing
參考
- if (Serial)
- available()
- begin()
- find()
- findUntil()
- flush()
- parseFloat()
- parseInt()
- peek()
- print()
- println()
- read()
- readBytes()
- readBytesUntil()
- setTimeout()
- write()
- serialEvent()
語法參考主頁面
86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。