Delay for the given number of milliseconds.
Provided to allow the library to be used on platforms that don't have a delay function (to allow code to be more portable).
- Note
- This will call show() constantly to drive the dithering engine (and will call show() at least once).
- Parameters
-
| ms | the number of milliseconds to pause for |
Definition at line 527 of file FastLED.cpp.hpp.
527 {
529 do {
530#ifndef FASTLED_ACCURATE_CLOCK
531
532
534#endif
537 }
539}
void show() FL_NO_EXCEPT
Update all our controllers with the current led colors.
void delay(u32 ms, bool run_async=true) FL_NO_EXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
fl::u32 millis() FL_NO_EXCEPT
Universal millisecond timer - returns milliseconds since system startup.
void yield() FL_NO_EXCEPT
Yield to the platform scheduler.
References fl::delay(), FL_NO_EXCEPT, fl::millis(), show(), and fl::yield().