FastLED 3.10.8
Loading...
Searching...
No Matches

◆ hsv2rgb_raw() [1/2]

void hsv2rgb_raw ( const CHSV & hsv,
CRGB & rgb )

Convert an HSV value to RGB using a mathematically straight spectrum.

See also
hsv2rgb_spectrum(const CHSV&, CRGB&)
Note
The hue is limited to the range 0-191 (HUE_MAX). This results in a slightly faster conversion speed at the expense of color balance.
Parameters
hsvCHSV struct to convert to RGB. Max hue supported is HUE_MAX
rgbCRGB struct to store the result of the conversion (will be modified)

Definition at line 28 of file hsv2rgb.cpp.hpp.

29 {
30 hsv2rgb_raw_C( hsv, rgb);
31}
void hsv2rgb_raw_C(const CHSV &hsv, CRGB &rgb) FL_NO_EXCEPT
HSV to RGB implementation in raw C, platform independent.

References FL_NO_EXCEPT, and hsv2rgb_raw_C().

Referenced by hsv2rgb_raw(), and hsv2rgb_spectrum().

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