Maybe someone can give me a hint?
Just wondering if i can drive 2 different setups of leds via multiple controllers, using a teensy 3.6.
What i want to do is, have 2 separate strips of 202 vs 288 ws2812b leds on different output pins running, switch power for these via relais and therefore i’d like to have the data line of the currently unused strip just “dead“. Writing 1 strip just black doesnt seem useful, as the controllers would be running all the time, wasting power and lifetime.
So, just define 2 different Num_leds (i.e. _ambilight, _visualizer) and setup with their own “controller“ and set the output pin to low when not using it, or will Fastled also do absolutey nothing when not writing to a controller’s leds?
Or (i’m using LCDMenulib in this project, so it would be easy to run a void setup like Routine) just change pin and NUM_LEDS by using variables instead of #define?
Any help is highly appreciated!
Hi, i don’t think that you can change the pin numbering on the fly. Sorry.
Also the LEDs don’t like data without power, you some times get odd effects. You could use a double relay and disconnect data as well.
Hi, i know these leds dont like data when not powered, thats clear to me and thats why i asked if Fastled will send nothing to them when not calling their controller to write data out. In the code reference the example is using NUM_LED for all controllers, maybe code is optimized for that, so i should know about it.
I’ll try to ask clearer questions now - sorry for the bad english btw!
-when using fastled multiple controller, is it possible to have different amounts of led on them running - especially without losing Performance?
-will the data pin stay just low when not calling a controller to write out led data?
Thanks in advance for your help.
FastLED will write data to all of the LEDs every time you call show ().
If you want the best performance, use parallel output combined with the OctoWS2811 adapter and library. Don’t forget to use the teensy 3.5/6 fork as these boards aren’t officially supported yet.