 //Frame 3
     else if (frame==3) {
 
-        uint32_t myMatrixRow3[256] = {d,d,d,d,d,d,d,g,g,d,d,d,d,d,d,d,
+        uint8_t myMatrixRow3[256] = {d,d,d,d,d,d,d,g,g,d,d,d,d,d,d,d,
                                       d,d,d,d,d,d,d,g,g,d,d,d,d,d,d,d,
                                       d,d,d,d,d,d,b,g,g,g,d,d,d,d,d,d,
                                       d,d,d,d,d,d,g,g,b,r,d,d,d,d,d,d,

int frame;
int j;
uint32_t i;
uint32_t d=0;
uint32_t b=pow(2,7);
uint32_t g=pow(2,15);
uint32_t r=pow(2,23);
uint32_t p=b+r;
uint32_t y=g+r;
uint32_t a=b+g;
uint32_t w=b+g+r;


void setup() {
    // This is for Trinket 5V 16MHz, you can remove these three lines if you are not using a Trinket
#if defined (__AVR_ATtiny85__)
    if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
#endif
    // End of trinket special code

    irrecv.enableIRIn(); // Start the remote control receiver

    Serial.begin(9600); // setup serial printing so you can troubleshoot
    //Serial.print("i=");  //Print something to serial terminal for viewing
    //Serial.print(i);
    strip.begin();
    strip.show(); // Initialize all pixels to 'off'


//Frame 1
    if (frame==1) {

        uint8_t myMatrixRow1[256]  = {d,d,w,w,d,d,d,d,d,d,d,d,d,d,d,d,
                                      d,d,d,d,d,d,d,d,d,d,d,w,d,w,d,d,
                                      d,d,d,w,d,w,d,d,d,d,d,d,d,d,d,d,
                                      d,d,d,d,d,d,d,d,d,w,d,d,d,d,d,d,
