#include #ifdef __AVR__ #include #endif //IMPORTANT: Update the pin and length to match your LED strip! #define PIN 5 #define LENGTH 150 Adafruit_NeoPixel strip = Adafruit_NeoPixel(LENGTH, PIN, NEO_GRB + NEO_KHZ800); int pixels = ; int frames = ; int fps = ; byte data[] = ; void setup() { strip.begin(); strip.show(); } int cframe = 0; void loop() { for (int i=0; i= frames) cframe = 0; delay(1000/fps); }