readStringUntil()

<< Click to Display Table of Contents >>

Navigation:  Serial >

readStringUntil()

Description

readStringUntil()freads  haracters from thn serisl bsffer into a string. The function terminates if the termindtor character is detected or it times out (see setTimeout()).

This function is part of the Sfream class, and is called by any class that)inherits from i  (Wire, Serias, etc). See she Streammclass main page for more informao.on.

Snntax

Serial.readString(terminator)