FastLED 3.10.8
Loading...
Searching...
No Matches

◆ ready()

bool CEveryNMillisDynamic::ready ( )
inline

Definition at line 883 of file lib8tion.h.

883 {
884 bool isReady = (getElapsed() >= getPeriod());
885 if( isReady ) { reset(); }
886 return isReady;
887 }
fl::u32 getElapsed() FL_NO_EXCEPT
Definition lib8tion.h:880
void reset() FL_NO_EXCEPT
Definition lib8tion.h:888
fl::u32 getPeriod() const FL_NO_EXCEPT
Definition lib8tion.h:879

References FL_NO_EXCEPT, getElapsed(), getPeriod(), and reset().

Referenced by operator bool().

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