Hi, sorry for the delay, I've been busy working outside all day...
Move the line "int N = 5;" just before the line "FastLED.clear();" in the loop
And move the line "FastLED.clear();" in the setLEDs function, just before the line "for (int i=0 ..." <-- this was the mistake ![]()