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

◆ fadeToBlackBy()

CRGB & CRGB::fadeToBlackBy ( fl::u8 fadefactor)

fadeToBlackBy is a synonym for nscale8(), as a fade instead of a scale

Parameters
fadefactorthe amount to fade, sent to nscale8() as (255 - fadefactor)
Examples
BeatDetection.ino.

Definition at line 111 of file crgb.cpp.hpp.

111 {
112 nscale8x3(r, g, b, 255 - fadefactor);
113 return *this;
114}

References CRGB().

Referenced by fl::XYDrawComposited::draw(), drawWaveform(), and loop().

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