Reference.StreamSetTimeout History

Hide minor edits - Show changes to output

April 17, 2012, at 10:50 PM by Scott Fitzgerald -
Deleted line 23:
[[Reference.HomePage | Reference Home]]
November 01, 2011, at 09:13 PM by Scott Fitzgerald -
Added lines 16-19:
!!!!Parameters

None
November 01, 2011, at 09:06 PM by Scott Fitzgerald -
Changed lines 14-15 from:
''time'' : timeout duration in milliseconds (int).
to:
''time'' : timeout duration in milliseconds (long).
November 01, 2011, at 09:05 PM by Scott Fitzgerald -
Changed lines 5-7 from:
setTimeout() sets the maximum milliseconds to wait for stream data, it defaults to 1 second. This utility function is not publicly available, and is part of the Stream class.

to:
setTimeout() sets the maximum milliseconds to wait for stream data, it defaults to 1000 milliseconds. 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''.setTimeout(''time'')

!!!!Parameters

''stream'' : an instance of a class that inherits from Stream.\\
''time'' : timeout duration in milliseconds (int).
October 31, 2011, at 03:01 AM by Scott Fitzgerald -
Added lines 1-12:
!!setTimeout()

!!!!Description

setTimeout() sets the maximum milliseconds to wait for stream data, it defaults to 1 second. This utility function is not publicly available, and is part of the Stream class.


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


[[Reference.HomePage | Reference Home]]

Share