MCPcopy Create free account
hub / github.com/FastLED/FastLED / getAnimationTime

Function getAnimationTime

examples/Downscale/Downscale.h:121–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119//////////////////// LOOP SECTION /////////////////////////////
120
121float getAnimationTime(uint32_t now) {
122 float pointf = shapeProgress.updatef(now);
123 return pointf + transition.value();
124}
125
126void clearLeds() {
127 fl::clear(leds);

Callers 1

loopFunction · 0.70

Calls 2

updatefMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected