Skip to content

Commit 8da8657

Browse files
authored
Merge pull request #27 from per1234/serial-readBytesUntil-terminator-note
Note Serial.readBytesUntil() does not add terminator to the array
2 parents 9276197 + 22f4bb9 commit 8da8657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Language/Functions/Communication/Serial/readBytesUntil.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ title: Serial.readBytesUntil()
1414

1515
[float]
1616
=== 설명
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.
1818

1919
`Serial.readBytesUntil()` returns the number of characters read into the buffer. A 0 means no valid data was found.
2020

0 commit comments

Comments
 (0)