is it possible to pass the CRGB array to another library function for processing

is it possible to pass the CRGB array to another library function for processing the while loops? I tried passing by reference and using pointers, but the CRGB array wont pass into the function for processing.

It is, yes. But generically, the array assigned to the FastLED object is global anyway, so why pass it around?

Are you passing around another array prior to assigning back and calling FastLED.show()?

Can you post code to http://gist.github.com which shows what your problem is?

im trying to pass it to a custom library function where it would do its forLoop to output all the data over the spi bus to the slave arduino, and at the slave it would build the CRGB array in reverse order. I could do it within the sketch is not the problem, i would rather pass it to the function to have it do the dirty work than leaving traces in the user sketch

i tried pointers and references, i simply cannot pass a CRGB array to a function, library or sketch inclusive.

It’s just C when it all boils down, so can you post the code? The rules for passing an array are pretty simple, so maybe it’s just a misunderstanding?