I've been using the Adafruit neopixel libraries mostly and have been somewhat successful in

I’ve been using the Adafruit neopixel libraries mostly and have been somewhat successful in getting accomplished what I want to. Seeing the power of the FastLED library, I want to get more familiar with it but I’m struggling.

I want to recreate a small function I made but I’m struggling. Basically this moves a colored pixel down the strip to the end, then leaves it there still lit. The color is changed slightly and event repeated until the strip is full. It looks like it builds a rainbow one pixel dropping down at a time.

I cannot figure out how to do this with FastLED. My guess is it would be easier here, but I’m stuck. Any help would be appreciated.

http://pastebin.com/9LArY6Ct

Here’s an example I made a few months ago that fills up a strip, then clears it and starts again. Maybe that will help with part of what you want to do.

I converted all my code some time ago to FastLED and it went pretty smoothly. First thing I read all the documentation, and read some examples. I’m sure you can do it! Start by finding the equivalent of the Neopixel library functions in FastLED. For example, strip.Color() is replaced with CRGB().

The strip.setPixelColor() mechanic is replaced with an array. That’s the trickiest part. Examples will help!

Thanks for the feedback and sample code, I learn a lot from sample code. In regards to the documentation, is this the best place? http://fastled.io/docs/3.1/group___colorutils.html#gafcc7dac88e25736ebc49a9faf2a1c2e2

I would recommend reading here : https://github.com/FastLED/FastLED/wiki/Overview

And going down the menu on the right!

@marmil Thanks, this is 90% of what my other code did, very helpful, appreciate it. @James_Smirniotopoul1 I’ll check that one out too, lots to learn!

So here’s the code modified to my need, in case anyone else wants it. Thanks again!

http://pastebin.com/n58ZWjQn

I do, check out the prior posting that I made :slight_smile: