[Serial]
説明
Serial.setTimeout()
sets the maximum milliseconds to wait for serial data when using Serial.readBytesUntil()
または Serial.readBytes()
. It defaults to 1000 milliseconds.
Serial.setTimeout()
inherits from the Stream utility class.
構文
Serial.setTimeout(time)
媒介変数
time
: timeout duration in milliseconds (long).
戻り値
None
See also
Language Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。