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-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ title: Serial.readBytesUntil()
14
14
15
15
[float]
16
16
=== Description
17
-
Serial.readBytesUntil() reads characters from the serial buffer into an array. The function terminates if the terminator character is detected, the determined length has been read, or it times out (see link:../settimeout[Serial.setTimeout()]).
17
+
Serial.readBytesUntil() reads characters from the serial buffer into an array. The function terminates if the terminator character is detected, the determined length has been read, or it times out (see link:../settimeout[Serial.setTimeout()]). 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
19
`Serial.readBytesUntil()` returns the number of characters read into the buffer. A 0 means no valid data was found.
0 commit comments