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

◆ getElapsed()

TIMETYPE CEveryNTime::getElapsed ( )
inline

Get the time elapsed since the last trigger event.

Definition at line 1141 of file lib8tion.h.

1141{ return getTime() - mPrevTrigger; }
TIMETYPE getTime()
Get the current time according to the class' timekeeper.
Definition lib8tion.h:1135
TIMETYPE mPrevTrigger
Timestamp of the last time the class was "ready".
Definition lib8tion.h:1122

References getTime(), and mPrevTrigger.

Referenced by getRemaining(), and ready().

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