I haven’t seen this used before but that could certainly be useful. Would the array need to be defined before hand?
It could be helpful if you posted your full test code to pastebin or gist.
@Gregg_Novosad , since you did not post all of your code, I do not know what gndiLedCnt_Max is. Here is a sketch of mine in pastebin that uses CRGBSet:
I created it to help me learn how to use CRGBSet and to help me learn how to make an array of arrays that contain CRGBSet arrays. I used it with a NeoPixel ring and an Arduino UNO.
It fills whole CRGBSet arrays using the fill_solid function. The color for the fill_solid function can be entered as either a CRGB color or a CHSV color. I used it with a NeoPixel ring and an Arduino UNO.
Hi Gregg: Thanks for the clarification. I think what you are asking for is: fill_solid(ledsarry[0], 8, CHSV( 96, 255, 255)).
In FastLED, there are only two ways that I know of to fill a group of pixels with a solid color. One is to use a for loop and fill each pixel. The other is to use the fill_solid function which does the same thing as the for loop but is in a function ( see https://github.com/FastLED/FastLED/blob/master/colorutils.cpp). I think that the syntax that you desire is not available in FastLED.
that does what you want using the redefined CRGB array plus I have added using fill_rainbow with the redefined CRGB array. Also, I have created a new function using fill_solid with the redefined CRGB array. I used it with a NeoPixel ring and an Arduino UNO.
Gregg, thank you for your questions since it allowed me to go back and improve my understanding of CRGBSet arrays and my skills using CRGBSet arrays.