31void showAnalogRGB(
const CRGB& rgb)
33 analogWrite(REDPIN, rgb.
r );
34 analogWrite(GREENPIN, rgb.
g );
35 analogWrite(BLUEPIN, rgb.
b );
55 showAnalogRGB(
CHSV( hue, 255, 255) );
62 pinMode(REDPIN, OUTPUT);
63 pinMode(GREENPIN, OUTPUT);
64 pinMode(BLUEPIN, OUTPUT);
central include file for FastLED, defines the CFastLED class/object
Representation of an HSV pixel (hue, saturation, value (aka brightness)).
Representation of an RGB pixel (Red, Green, Blue)
uint8_t r
Red channel value.
uint8_t g
Green channel value.
uint8_t b
Blue channel value.