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

◆ scale8_constexpr()

uint8_t scale8_constexpr ( uint8_t i,
fract8 scale )
constexpr

Definition at line 104 of file scale8.h.

104 {
105 return (((uint16_t)i) * (1 + (uint16_t)(scale))) >> 8;
106}
UISlider scale("Scale", 4,.1, 4,.1)

References scale.

Referenced by CRGB::nscale8_constexpr().

+ Here is the caller graph for this function: