FastLED-questions

Hi!

I’m new to the fastLed-library, and have 2 led-thoughts I was hoping some nice folks could help me with. :slight_smile:

So I want to add two things to my sketch;
1, A animate effect, I want my first array map to animate in a rinning-light effect from the first led to the last. So the feeling would be like the led pattern is growing out from the start of my led strip.

  1. some random flickering in the brightness, but random in every led - not the hole strip.

Du you have any ideas? :slight_smile:

DIN-test.ino (1.13 KB)

Please read the instructions regarding how to post code. You can modify your first post to do this properly.

People who want to help you do not necessarily want to download your code and/ or try to run it in the IDE just to look at it and comment, particularly if they are - as some of the best contributors here do - looking at it on a "tablet".

For a running light, just set the first led, in the next iteration, set the first two leds etc.

I'm just getting my feet wet with addressable leds but I think that for the flickering / dimming, it might be easier using HSV values instead of RGB values.

I've done some very similar animations to that here - LEDCTRLA/DriftAnimatePlus.ino at master · SpenceKonde/LEDCTRLA · GitHub

I don't use FastLED - I use adafruit's neopixel library, modified to take a fixed size frame buffer to make memory usage easier to judge from compiler output and eliminate the flash used by malloc/free