FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ ready()

bool CEveryNMillisDynamic::ready ( )
inline

Definition at line 1179 of file lib8tion.h.

1179 {
1180 bool isReady = (getElapsed() >= getPeriod());
1181 if( isReady ) { reset(); }
1182 return isReady;
1183 }
uint32_t getPeriod() const
Definition lib8tion.h:1175
uint32_t getElapsed()
Definition lib8tion.h:1176

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: