I want to move an LED up and down the strip.
I already managed to get this right to control the LED with a poti but I want it to leave it some kind of fading trail.
So I thought to myself, that I should use a for loop to always dim all leds on the strip to black. The one, who my poti controls gets the new hsv value anyway.
So I tried this:
for(int x = 0; x >= NUM_LEDS; x++){
// blur1d: one-dimensional blur filter. Spreads light to 2 line neighbors.
// blur2d: two-dimensional blur filter. Spreads light to 8 XY neighbors.
//
// 0 = no spread at all
// 64 = moderate spreading
// 172 = maximum smooth, even spreading
//
// 173…255 = wider spreading, but increasing flicker
//
// Total light is NOT entirely conserved, so many repeated
// calls to ‘blur’ will also result in the light fading,
// eventually all the way to black; this is by design so that
// it can be used to (slowly) clear the LEDs to black.
void blur1d( CRGB* leds, uint16_t numLeds, fract8 blur_amount)