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

◆ map16_to_8()

u8 fl::map16_to_8 ( u16 x)
inline
Deprecated
Use int_scale<uint16_t, uint8_t>() instead
Examples
/home/runner/work/FastLED/FastLED/src/fl/math/intmap.h.

Definition at line 66 of file intmap.h.

66 {
67 return fl::int_scale<u16, u8>(x);
68}

References FL_NOEXCEPT, and x.

Referenced by easeInOutSine8(), easeOutSine8(), and HSV16toRGB().

+ Here is the caller graph for this function: