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

◆ trigger() [1/2]

void fl::TimeRamp::trigger ( uint32_t now)
overridevirtual

Call this when you want to (re)start the ramp cycle.

Implements fl::TimeAlpha.

Definition at line 44 of file time_alpha.cpp.

44 {
45 mStart = now;
46 // mLastValue = 0;
47
51}
uint32_t mLatchMs
Definition time_alpha.h:63
uint32_t mFinishedFallingTime
Definition time_alpha.h:69
uint32_t mFinishedPlateauTime
Definition time_alpha.h:68
uint32_t mStart
Definition time_alpha.h:71
uint32_t mFinishedRisingTime
Definition time_alpha.h:67
uint32_t mFallingTime
Definition time_alpha.h:65
uint32_t mRisingTime
Definition time_alpha.h:64

References mFallingTime, mFinishedFallingTime, mFinishedPlateauTime, mFinishedRisingTime, mLatchMs, mRisingTime, and mStart.

Referenced by applyFancyEffect(), and trigger().

+ Here is the caller graph for this function: