[Serial]
説明
Serial.findUntil()
reads data from the serial buffer until a target string of given length or terminator string is found.
The function returns true if the target string is found, false if it times out.
Serial.findUntil()
inherits from the Stream utility class.
構文
Serial.findUntil(target, terminal)
媒介変数
target
: the string to search for (char string)terminal
: the terminal string in the search (char string)
戻り値
boolean
See also
Language Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。