what arduino are you using and how is this powered ?
I'd suggest you first test the strip without things being too complicated
run this:
#include <Adafruit_NeoPixel.h>
const byte dataPin = 3; //Data pin
const uint16_t nbPixels = 256 ; // 32x8
Adafruit_NeoPixel strip = Adafruit_NeoPixel(nbPixels, dataPin, NEO_GRB + NEO_KHZ800);
const uint32_t tempo = 100;
void setup()
{
strip.begin();
}
void loop() {
for (uint16_t i = 0; i < nbPixels; i++) {
strip.setPixelColor(i, strip.Color(128, 0, 0));
strip.show(); // This sends the updated pixel color to the hardware.
delay(tempo);
strip.setPixelColor(i, strip.Color(0, 128, 0));
strip.show(); // This sends the updated pixel color to the hardware.
delay(tempo);
strip.setPixelColor(i, strip.Color(0, 0, 128));
strip.show(); // This sends the updated pixel color to the hardware.
delay(tempo);
strip.clear();
}
}
you should see all pixels lighting up one after the other in 3 primary colors. (modify tempo if it's going too fast for each color)