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 29 of file fastled_delay.h.

29 {
31 do {
32 diff = (micros() & 0xFFFF) - mLastMicros;
33 } while(diff < WAIT);
34 }
uint16_t 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.