설명
readStringUntil()
reads characters from the serial buffer into a String. The function terminates if it times out (see setTimeout()).
Serial.readStringUntil()
inherits from the Stream utility class.
문법
Serial.readStringUntil(terminator)
매개변수
terminator
: the character to search for (char
)
반환
The entire String read from the serial buffer, up to the terminator character