Skip to content

Commit 99c2365

Browse files
authored
Update delayMicroseconds.adoc (#847)
Improve warning about long delay times , and that they can be extremely brief.
1 parent 5e49633 commit 99c2365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Language/Functions/Time/delayMicroseconds.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ subCategories: [ "Time" ]
1919
=== Description
2020
Pauses the program for the amount of time (in microseconds) specified by the parameter. There are a thousand microseconds in a millisecond and a million microseconds in a second.
2121

22-
Currently, the largest value that will produce an accurate delay is 16383. This could change in future Arduino releases. For delays longer than a few thousand microseconds, you should use `delay()` instead.
22+
Currently, the largest value that will produce an accurate delay is 16383; larger values can produce an extremely short delay. This could change in future Arduino releases. For delays longer than a few thousand microseconds, you should use `delay()` instead.
2323
[%hardbreaks]
2424

2525

@@ -71,7 +71,7 @@ void loop() {
7171

7272
[float]
7373
=== Notes and Warnings
74-
This function works very accurately in the range 3 microseconds and up. We cannot assure that delayMicroseconds will perform precisely for smaller delay-times.
74+
This function works very accurately in the range 3 microseconds and up to 16383. We cannot assure that delayMicroseconds will perform precisely for smaller delay-times. Larger delay times may actually delay for an extremely brief time.
7575

7676
As of Arduino 0018, delayMicroseconds() no longer disables interrupts.
7777

0 commit comments

Comments
 (0)