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

◆ operator+=()

CRGB & CRGB::operator+= ( const CRGB & rhs)

Add one CRGB to another, saturating at 0xFF for each channel.

Definition at line 93 of file crgb.cpp.hpp.

93 {
94 r = qadd8(r, rhs.r);
95 g = qadd8(g, rhs.g);
96 b = qadd8(b, rhs.b);
97 return *this;
98}
InputGamut g
Definition rgbw.h:125

References CRGB(), fl::FL_NO_EXCEPT, and fl::g.

+ Here is the call graph for this function: