FastLED 3.9.3
|
Class to ensure that a minimum amount of time has kicked since the last time run - and delay if not enough time has passed yet.
WAIT | The amount of time to wait, in microseconds |
Definition at line 18 of file fastled_delay.h.
#include <fastled_delay.h>
Public Member Functions | |
CMinWait () | |
Constructor. | |
void | wait () |
Blocking delay until WAIT time since mark() has passed. | |
void | mark () |
Reset the timestamp that marks the start of the wait period. | |
|
inline |
Constructor.
Definition at line 24 of file fastled_delay.h.
|
inline |
Reset the timestamp that marks the start of the wait period.
Definition at line 35 of file fastled_delay.h.
|
inline |
Blocking delay until WAIT time since mark() has passed.
Definition at line 27 of file fastled_delay.h.