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

◆ ready()

bool CEveryNMillisDynamic::ready ( )
inline

Definition at line 1197 of file lib8tion.h.

1197 {
1198 bool isReady = (getElapsed() >= getPeriod());
1199 if( isReady ) { reset(); }
1200 return isReady;
1201 }
uint32_t getPeriod() const
Definition lib8tion.h:1193
uint32_t getElapsed()
Definition lib8tion.h:1194

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

Referenced by operator bool().

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