I'm looking at some Arduino code and encountering a construct I haven't seen before:
CRGBPalette16 currentPalette( CRGB::Black );
CRGB::Black
is a constant, which, as some have pointed out is a number.
Later on in the code the author appears to write directly to currentPalette
(or other similar variables) like this: currentPalette[12] = CRGB::Black;
Is currentPalette an object instance? If so then how can you access it as if it were an array?