Skip to content

Commit 7a0036a

Browse files
authored
Update readBytesUntil.adoc
Added note that millis()/timer0 is being used.
1 parent a85dca1 commit 7a0036a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Language/Functions/Communication/Serial/readBytesUntil.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Data type: `size_t`.
4949

5050
[float]
5151
=== Notes and Warnings
52-
The terminator character is discarded from the serial buffer, unless the return value equals `length`. If the return value is less than `length`, it cannot be determined whether this is due to a time-out or due to the detection of the supplied terminator.
52+
The terminator character is discarded from the serial buffer, unless the return value equals `length`. If the return value is less than `length`, it cannot be determined whether this is due to a time-out or due to the detection of the supplied terminator. This function relies on millis() which uses timer0's overflow interrupt.
5353
[%hardbreaks]
5454

5555
--

0 commit comments

Comments
 (0)