You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Language/Functions/Communication/Serial/setTimeout.adoc
+24-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ title: Serial.setTimeout()
14
14
15
15
[float]
16
16
=== Description
17
-
`Serial.setTimeout()` sets the maximum milliseconds to wait for serial data when using link:../readbytesuntil[serial.readBytesUntil()] or link:../readbytes[serial.readBytes()]. It defaults to 1000 milliseconds.
17
+
`Serial.setTimeout()` sets the maximum milliseconds to wait for serial data. It defaults to 1000 milliseconds.
18
18
19
19
`Serial.setTimeout()` inherits from the link:../../stream[Stream] utility class.
20
20
[%hardbreaks]
@@ -37,6 +37,29 @@ Nothing
37
37
// OVERVIEW SECTION ENDS
38
38
39
39
40
+
// HOW TO USE SECTION STARTS
41
+
[#howtouse]
42
+
--
43
+
44
+
[float]
45
+
=== Notes and Warnings
46
+
Serial functions that use the timeout value set via `_Serial_.setTimeout()`:
0 commit comments