I really have trouble starting with FastLED, i’m looking for a way to create a ‘show’ that matches certain times. First 10 sec blinking leds, after that rainbow for 5 secs, after that another effect for 60 seconds (as example). But i can’t figure out where to start.
I’ve come so far that i know that the led strip can be triggered with very basic commands, but is there anything where i can find these commands? Searching for hours now, and possibly i’m just not seeing it…
I have very smalllll knowledge of developing. Can read certain lines of code and copy past and small edit them, but this is to hard i guess.
@marmil Thanks, still though, i just dont get it so well. Is there somewhere a list of the commands i can use? For example, now i have the rainbow ‘scene’, is there a way that i can fade in slowly and fade out?
If, as you say, you have a “very smalllll knowledge of developing” then rather than trying to write your own code at this point, you’re far better off downloading and studying existing demos. You’ve already found the documentation at:
That can only get you so far. Beyond that, you’ll need to study the source code, and look at other people’s examples. A few include:
Think of the TimeCodePerformance as a way of having code run once or continuously until the next time set as if it were in the loop of the sketch.
To do certain animations, I would recommend that you develop each animation in a separate sketch and then use the code from your individual sketches in the sketch using the TimeCodePerformance code. That is the way I developed the aforementioned sketches that use the TimeCodePerformance code.
To find how to do an animation, use the Search Community box on the left side of this web page. Try the search terms “fade rainbow” and “breath” to find posts that might show you how to accomplish what you want to do. Also, look at the FastLED beatsin functions ( see https://github.com/FastLED/FastLED/blob/master/lib8tion.h starting at line 151).
Thanks everybody for the help. I just can’t get it right, i think this is not ment for my halfdead brain, can’t figure out the logic.
What i’m simply looking for is the example where i can work with specific times and then trigger an ‘example’. But every example i open has a different way of buildup. I’m just looking for a way to fade in an “example”, fade out, fade in another “sample” and out, and that on certain times.
The time is ticking for me, we’re having a party in July and i would loved to use the adressable leds next to a small show with a video. But this isn’t going to work for me, need more time