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 377 of file FastLED.cpp.hpp.
377 {
379 do {
380#ifndef FASTLED_ACCURATE_CLOCK
381
382
384#endif
387 }
389}
void show()
Update all our controllers with the current led colors.
fl::u32 millis()
Universal millisecond timer - returns milliseconds since system startup.
void delay(u32 ms, bool run_async=true) FL_NOEXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
void yield()
Yield to the platform scheduler.
References fl::delay(), fl::millis(), show(), and fl::yield().