FastLED 3.9.15
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 94 of file crgb.cpp.hpp.

94 {
95 r = qadd8(r, rhs.r);
96 g = qadd8(g, rhs.g);
97 b = qadd8(b, rhs.b);
98 return *this;
99}

References CRGB().

+ Here is the call graph for this function: