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

◆ hsv2rgb_raw() [2/2]

void hsv2rgb_raw ( const struct CHSV * phsv,
struct CRGB * prgb,
int numLeds )

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

See also
hsv2rgb_raw(const struct CHSV&, struct CRGB&)
Parameters
phsvCHSV array to convert to RGB. Max hue supported is HUE_MAX
prgbCRGB array to store the result of the conversion (will be modified)
numLedsthe number of array values to process

Definition at line 479 of file hsv2rgb.cpp.

479 {
480 for(int i = 0; i < numLeds; ++i) {
481 hsv2rgb_raw(phsv[i], prgb[i]);
482 }
483}
void hsv2rgb_raw(const struct CHSV &hsv, struct CRGB &rgb)
Convert an HSV value to RGB using a mathematically straight spectrum.
Definition hsv2rgb.cpp:23

References hsv2rgb_raw().

+ Here is the call graph for this function: