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

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