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/readBytesUntil.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ title: Serial.readBytesUntil()
16
16
=== Description
17
17
Serial.readBytesUntil() reads characters from the serial buffer into an array. The function terminates (checks being done in this order) if the determined length has been read, if it times out (see link:../settimeout[Serial.setTimeout()]), or if the terminator character is detected, in which case the function returns the characters up to the last character before the supplied terminator. The terminator itself is not returned in the buffer.
18
18
19
-
`Serial.readBytesUntil()` returns the number of characters read into the buffer. A 0 means that supplied length < = 0, a time out occured, or a termination character was found before any other input.
19
+
`Serial.readBytesUntil()` returns the number of characters read into the buffer. A 0 means that supplied length < = 0, or that a time out occured or a termination character was found before any other input.
20
20
21
21
`Serial.readBytesUntil()` inherits from the link:../../stream[Stream] utility class.
0 commit comments