Have fun using a long NeoPixel strip
Klausj found an unused NeoPixel (WS2812) LED strip in a box room and wrote a project around it, published on Hackster.io. The strip holds 300 RGB LEDs over three meters. The code sends pulses of light traveling from one end of the strip to the other, in both directions, at different speeds and in different colors.
There’s a second reason behind the build. Klausj wanted more practice with object-oriented programming, so pulses are objects of a Pulse class. Each one carries its own color, speed and direction, and the display is the sum of all of them moving along the strip at once.
It’s a good way to put a long strip to use when there isn’t a project waiting for it.
See more at hackster.io .




Comments
No comments yet. Be the first to share your thoughts.