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

◆ dim8_raw()

LIB8STATIC uint8_t dim8_raw ( uint8_t x)

Adjust a scaling value for dimming.

See also
scale8()
Examples
NoisePlusPalette.ino.

Definition at line 703 of file scale8.h.

703{ return scale8(x, x); }
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80
LIB8STATIC_ALWAYS_INLINE uint8_t scale8(uint8_t i, fract8 scale)
Scale one byte by a second one, which is treated as the numerator of a fraction whose denominator is ...
Definition scale8.h:34

References LIB8STATIC, scale8(), and x.

Referenced by fl::NoisePalette::mapNoiseToLEDsUsingPalette(), mapNoiseToLEDsUsingPalette(), and software_gamma().

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