This page is also available in 3 other languages

Serial.find()

설명

Serial.find() reads data from the serial buffer until the target is found. The function returns true if target is found, false if it times out.

Serial.find() inherits from the stream utility class.

문법

Serial.find(target)
Serial.find(target, length)

매개변수

target : the string to search for (char)

length : length of the target (size_t)

반환

bool

더보기