Hello,
Can I compare 2 CRGB Objects ?
Something like :
CRGB c1 = CRGB::Red;
CRGB c2 = CRGB::Red;
if (c1==c2) {
…
Hello,
Can I compare 2 CRGB Objects ?
Something like :
CRGB c1 = CRGB::Red;
CRGB c2 = CRGB::Red;
if (c1==c2) {
…
Yes: https://github.com/FastLED/FastLED/blob/03d12093a92ee2b64fabb03412aa0c3e4f6384dd/pixeltypes.h#L752
great thanks.