FastLED 3.9.15
Loading...
Searching...
No Matches

◆ delay()

template<int Dummy = 0>
void fl::delay ( u32 ms,
bool run_async = true )
inline

Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still allowing explicit fl::delay() calls.

Parameters
msMilliseconds to delay
run_asyncIf true, pump async tasks during delay (only on platforms with SKETCH_HAS_LARGE_MEMORY==1)

Definition at line 98 of file delay.h.

98 {
99 (void)Dummy;
100 detail::delay_impl(ms, run_async);
101}
void delay_impl(u32 ms, bool run_async)
Internal delay implementation used by the public fl::delay wrapper.

References delay(), fl::detail::delay_impl(), and FL_NOEXCEPT.

Referenced by MidiShieldButton::MidiShieldButton(), ToggleButton::ToggleButton(), fl::HttpConnection::calculateBackoffDelay(), CFastLED::delay(), delay(), fl::third_party::nsgif__next_displayable_frame(), fl::third_party::nsgif_frame_prepare(), and fl::platforms::scopedWatchdogPause3s().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: