Closed shenkev closed 8 years ago
You could use EVERY_N_SECONDS(thisdelay) for that, but will need to add code to change the routine.
I don't use that method, rather, I use:
https://github.com/atuline/FastLED-Demos/blob/master/one_sine_pal_demo/one_sine_pal_demo.ino
This is the bigger and more complex one:
https://github.com/atuline/FastLED-Demos/tree/master/aalight
Not really an extension of the issue, but I was wondering if you could point me in the right direction on 2 design I have in mind. Any help would be greatly appreciated! I'm going to have a LED strand in an elliptical shape.
I think you've implemented similar methods to the first idea but I couldn't figure out how to transform your implementation exactly into what I want. What FastLED API methods should I look into for my ideas? Thank you!
Your best best for ideas and general support is at:
https://plus.google.com/communities/109127054924227823508
As for using colours, I just define and use palettes for the most part. My recommendation would be to find all the demos you can get and learn from them. There's a lot out there on gist.github.com and pastebin.com.
I'm not sure how to use EVERY_N_MILLISECONDS(thisdelay) when I want to do an effect for 5 seconds, then do another effect for 5 seconds