Relatively new to the whole fastLED library but already keen on the possibilities than lie within :).
I do have a couple of questions.
As I already did some research, I guess the fastLED port to Particle Photon does not have all the functionality available? I can’t initiate the CRGBArray or CRGBSize declarations… Will this be ported in the future? Or can I use these stuff within the Arduino IDE and compile it to the photon?
The other question is about declaring the arrays. I have a single WS2812 strip which I want to devide into (different sizes) sections/arrays. No problems on Arduino platform.
But how can I combine the different arrays into a new array (say section 3, section 6, section 9). I will be using these LEDs in a sculpture pyramid shape, and would like to light up different sections of it (base, middle, top).
If needed I can add code, but it is more or less a global question I presume. Is there a way to ‘concate’ the different arrays in a new array?
Thanks in advance, love how active this community is
Correct, Particle has their own library format, and it doesn’t support some of the more complicated libraries like FastLED. So right now it’s a fork. As soon as Particle fixes their library support, FastLED might integrate it directly (like all other boards). There are no plans to pull the latest changes into the Particle fork (see the announcement pinned to the top of this group for more information). Particle also doesn’t support the Arduino IDE. I’d recommend the RedBear Duo, which is very similar to the Photon, supports the Particle Cloud, FastLED, and the Arduino IDE. Or an ESP8266 board like the Wemos D1 Mini.
Regarding your other question on arrays: if you can switch away from the Photon, take a look at these CRGBset examples:
Hey Jason,
Thank you for the response. Actually I was prototyping on the redbear duo instead of a Photon, so that is fortunate. I was just digging in the whole cloud based ide and output to the cloud. Ideally I would love to have it a nice webinterface and thought particle cloud was an easy way of doing that. When I will be home I will dig deeper in the examples provided think I might learn a thing or two from the seven segments example.
So basically if you want a new array to extend more arrays it is like:
array 10 { array3 = array6 = array9} ?