Hi,
I want to make a specific pattern move through an array for a neopixel type LED project.
For example; I have a pattern of LED brightness represented by an array "5,8,26,9" and I have an LED strip with 100 LEDS.
The full LED strip is represented by a 100 position array. I want to move the pattern along one LED at a time.
So the at first, the LED array would look like... "9,0,0,0,0,0,0,0........."
then "26,9,0,0,0,0,0,0,0........."
8,26,9,0,0,0,0,0,0,0.........
5,8,26,9,0,0,0,0,0,0.........
0,5,8,26,9,0,0,0,0,0.........
0,0,5,8,26,9,0,0,0,0.........
until at the end it would start to loop around again...
.....0,0,0,0,0,0,5,8,26,9
9,0,0,0..........0,0,0,5,8,26
26,9,0,0,0..........0,0,0,5,8
Any suggestions for a good way of doing that?