If you have more or less pixels that 24, or you use a different pin on the Arduino to connect to the NeoPixel
If you want to change the pin that the arduino is connecting to the NeoPixel on, change the 2nd parameter in line 321 in the sketch. If you want to change the number of NeoPixles in the ring or device, change the first parameter in line 321.
Example
NeoPatterns Ring1(24, 6, NEO_GRB + NEO_KHZ800, &Ring1Complete);
is for a 24 pixel NeoPixel that has its input pin connected to pin 6 on the Arduino.
Thank you DJ for taking the time last night to dig into Arduino and Neopixel. Last nights session really helped a lot.
I am interested in the schematics and firmware of the NeoPixel Blaster.
PS. I learned so much just watching you navigate through coding and such on the live stream. I hope to see many more Live Hacks.
Live-Hack-NeoPixel-Arduino-Raspberry-Pi-EZBPi-Server
Thanks,
Mark