I have a 2812B LED strip (RBG) that I need to create in a single-color chase sequence.
It would be similar to a "Knight Rider" type effect except for the fact that it goes only one direction.
With ONE led strip, I want to create an effect SIMILAR to this video
Yes, I know it will only be 1 LED wide, but I am showing you this so you can understand what I am looking for. Unlike the KNIGHT RIDER effect, I don't want it to bounce back.
In order for it to "chase" it would need to have more than 1 pixel/led on at a time, but just "moving" in the same direction.
Typically I use the Neopixel library, but could use other things if necessary.
Thank you in advance for any direction you may give me in my search!!!
I want to create the effect of linear motion using a strand of led lights. I believe that is called a chase. But I want multiple lights scrolling or chasing along the strip at the same time so you can choose which light to follow with your eyes as it progresses across
Grumpy_Mike:
The code you posted was not in code tags. Given the number of posts you have that is a very bad example to set. Also there are no ; in that code.
There are many ways to go about this.
Some pseudo-code:
turn on 1,2,3,4
delay
turn off 1
turn on 5
delay
turn off 2
turn on 6
delay
turn off 3
turn on 7
delay
turn off 4 ...
and so on
It's not compact and refined - but can you "see" what should be done, now? [ Y/N ]
Grumpy_Mike:
The code you posted was not in code tags. Given the number of posts you have that is a very bad example to set. Also there are no ; in that code.
It isn't code.
I did write the words code thoughts.
I expect the OP to take my ideas and go from there.
And as I wrote before it is code thoughts. I never wrote that it was code. My intention was to give the OP some suggestions, musings, whatever you want to call it.