Reference.StreamFind History

Hide minor edits - Show changes to output

November 01, 2011, at 09:30 PM by Scott Fitzgerald -
Changed lines 12-13 from:
''stream''.find(''target''')\\
to:
''stream''.find(''target'')\\
November 01, 2011, at 09:30 PM by Scott Fitzgerald -
Changed lines 8-9 from:
This utility function is not publicly available, and is part of the Stream class.
to:
This function is part of the Stream class, and is called by any class that inherits from it (Wire, Serial, etc). See the [[Reference/Stream | Stream class]] main page for more information.

!!!!Syntax

''stream''.find(''target''')\\

!!!!Parameters

''stream'' : an instance of a class that inherits from Stream.\\
''target'' : the string to search for (char)\\
Deleted line 21:
October 31, 2011, at 03:20 AM by Scott Fitzgerald -
Added lines 1-18:
!!find()

!!!!Description

find() reads data from the stream until the target string of given length is found
The function returns true if target string is found, false if timed out.

This utility function is not publicly available, and is part of the Stream class.

!!!!Returns
boolean\\


!!!!See also
* [[(Reference.)Stream]]


[[Reference.HomePage | Reference Home]]

Share