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

◆ trigger() [2/2]

void fl::TimeRamp::trigger ( uint32_t now,
uint32_t risingTime,
uint32_t latchMs,
uint32_t fallingTime )

Definition at line 52 of file time_alpha.cpp.

53 {
54 mRisingTime = risingTime;
55 mLatchMs = latchMs;
56 mFallingTime = fallingTime;
57 trigger(now);
58}
uint32_t mLatchMs
Definition time_alpha.h:76
void trigger(uint32_t now) override
Call this when you want to (re)start the ramp cycle.
uint32_t mFallingTime
Definition time_alpha.h:78
uint32_t mRisingTime
Definition time_alpha.h:77

References mFallingTime, mLatchMs, mRisingTime, and trigger().

+ Here is the call graph for this function: