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

◆ nscale()

FASTLED_FORCE_INLINE CRGB & fl::CRGB::nscale ( u8 scaledown)
inline

Generic scale — delegates to nscale8 for CRGB.

Definition at line 295 of file crgb.h.

295{ return nscale8(scaledown); }
CRGB & nscale8(u8 scaledown) FL_NOEXCEPT
Scale down a RGB to N/256ths of its current brightness, using "plain math" dimming rules.
Definition crgb.cpp.hpp:88

References CRGB(), FASTLED_FORCE_INLINE, FL_NOEXCEPT, and nscale8().

+ Here is the call graph for this function: