MCPcopy Create free account
hub / github.com/FastLED/FastLED / delayMs

Function delayMs

src/fl/system/delay.h:120–122  ·  view source on GitHub ↗

Shorter alias for delay with optional async task pumping @param ms Milliseconds to delay @param run_async If true, pump async tasks during delay (only on platforms with SKETCH_HAS_LARGE_MEMORY==1)

Source from the content-addressed store, hash-verified

118/// @param ms Milliseconds to delay
119/// @param run_async If true, pump async tasks during delay (only on platforms with SKETCH_HAS_LARGE_MEMORY==1)
120inline void delayMs(u32 ms, bool run_async = true) FL_NOEXCEPT {
121 detail::delay_impl(ms, run_async);
122}
123
124/// Shorter alias for delayNanoseconds (template version)
125/// @tparam NS Number of nanoseconds (at compile-time)

Callers 1

FL_TEST_FILEFunction · 0.85

Calls 1

delay_implFunction · 0.85

Tested by

no test coverage detected