This page is also available in 3 other languages

Serial.findUntil()

설명

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) terminal : the terminal string in the search (char)

반환

bool

더보기