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

◆ wait()

template<int WAIT>
void CMinWait< WAIT >::wait ( )
inline

Blocking delay until WAIT time since mark() has passed.

Definition at line 30 of file fastled_delay.h.

30 {
32 do {
33 diff = (micros() & 0xFFFF) - mLastMicros;
34 } while(diff < WAIT);
35 }
fl::u16 mLastMicros
Timestamp of the last time this was run, in microseconds.
Class to ensure that a minimum amount of time has kicked since the last time run - and delay if not e...

References mLastMicros.