Serial.FindUntil History

Hide minor edits - Show changes to markup

April 17, 2012, at 10:39 PM by Scott Fitzgerald -
Added lines 1-31:

Serial.findUntil()

Description

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.

Syntax

Serial.findUntil(target, terminal)

Parameters

target : the string to search for (char)
terminal : the terminal string in the search (char)

Returns

boolean

See also

Reference Home

Share