I’m sure there’s an explanation somewhere in the wiki, and maybe I overlooked it, I have a bunch of LED rings that I want to control individually with one data pin for each set of 5 rings and easily be able to control the patterns on each ring. I want to chain them together so each set of 5 rings only uses one data output from an arduino so I don’t have to use 46 outputs, instead I’ll use just 12. This is for a turn signal/marker light system for my jeep.
It’s not clear what your question is.
So you have 12 of these sets of rings? You can chain them all together and drive them off one pin, or split them up and use multiple pins and parallel output: https://github.com/FastLED/FastLED/wiki/Parallel-Output
What microcontroller are you using?
So for that set of 5 rings in the photo, in order to control each ring individually I’d need 5 data outputs from the arduino, I want to wire it like shown so I only have to use one data output for each set of 5 rings but I still want to be able to control each ring individually. Basically I want to separate this “one strip” into easily addressable segments.
That’s what I’m trying to do, not all 12 sets are 5 rings, but if I can bring it down to just the 12 or less data pins I’d be happy.
I’m using an arduino 2560
You want to look into learning your way around arrays and array accesses - e.g the first 20 leds in the array are the outermost ring, the next 16 leds are the next inner ring and so on and so forth.
Ok will do, thanks.
Here’s one way to do this: https://gist.github.com/adammhaile/a769f3ff87ff61f22ace
More info here: http://maniacallabs.com/2015/05/04/review-code-adafruit-dotstar-disk/
Also have a look at CRGBSets - they allow you to split one fastled array into multiple arrays that you can use.
http://goo.gl - FastLED
RGBSet Reference · FastLED/FastLED Wiki · GitHub