Hi. I'm new to coding and wanted to program an effect for my neopixel strip that I'm using to light up a nerf blaster. I'm in need of a piece of code that makes the effect below.
help would be greatly appreciated!
thanks
-finn
neopixel effect code
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- finnthenerfer
- Posts: 3
- Joined: Mon Jun 07, 2021 12:33 pm
neopixel effect code
- Attachments
-
- New Piskel.gif (21.2 KiB) Viewed 460 times
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: neopixel effect code
Something like this? https://www.youtube.com/watch?v=rzDw4Yu_S6U
- finnthenerfer
- Posts: 3
- Joined: Mon Jun 07, 2021 12:33 pm
Re: neopixel effect code
close enough. trying to set this line to blue in a piece of code I found:
figured out what I wanted was the nightrider effect
Code: Select all
// Simply experimental values on red.
uint32_t red_strength[] =
{
0x00000000, // red
0x00000100, //
0x00000300, //
0x00000A00, //
0x00000F00, //
0x00001000, //
0x00001600, //
0x00002000, //
0x00002F00, //
0x00005000, //
0x00005000, //
};
Please be positive and constructive with your questions and comments.