This page is also available in 3 other languages

Serial.readStringUntil()

설명

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

Notes and Warnings

The terminator character is discarded from the serial buffer.

더보기