Adam here is the code that fails the arrays are larger
#include <FastLED.h>
// Pin to which the input of the matrix is connected
#define String1_DATA_PIN 6
//—LED SETUP STUFF
const int ledsPerStrip = 60;
byte iCCW;
byte iCW;
//—LED FX VARS
int max_bright = 128; //-SET MAX BRIGHTNESS TO 1/4
CRGB String1_leds[60];
//—CHSV Color Setup
byte hue[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,32,33,34,35,36,37,38,39,40
,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81
,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116
,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147
,148,149,150,151,152,153,154,155,156,157,158,159,160,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176
,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207
,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238
,239,240,241,242,243,242,243,244,245,246,247,248,249,250,251,252,253,254,255,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60
,61,62,63,64,65,66,67,68,69,70,71,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99
,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130
,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,153,154,155,156,157,158,159
,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190
,191,192,193,194,195,196,197,198,199,200,201,202,203,204
};
byte saturation[] = {255,252,250,250,247,245,242,240,237,235,232,232,230,227,224,222,219,217,214,212,207,204,201,201,199,196,196
,194,194,191,189,186,186,186,186,184,181,179,176,176,173,171,168,166,163,161,158,156,156,153,150,148,143,140,138,135,133,130
,128,122,120,115,112,107,105,102,99,97,99,99,99,99,99,99,99,102,102,105,105,105,105,105,105,105,107,110,112,117,122,128,130
,133,138,143,145,150,153,156,161,163,166,171,173,176,179,181,186,189,191,194,196,199,201,204,207,209,212,214,212,214,217,219
,222,224,224,227,230,232,235,235,237,222,212,201,191,184,176,168,161,153,148,140,135,130,122,117,112,107,102,97,92,87,82,79,74
,69,64,61,56,54,48,46,41,38,41,38,36,31,28,26,23,18,15,13,10,10,8,5,5,8,10,10,13,13,15,15,18,20,23,23,26,28,28,31,31,33,33,36
,38,38,38,41,41,43,43,46,46,46,48,48,48,51,51,51,54,54,54,56,56,56,56,59,59,59,61,61,61,61,61,64,64,64,64,64,64,66,66,66,66,69
,69,69,69,69,69,69,71,71,71,71,71,71,71,74,74,74,74,74,74,74,74,74,77,77,77,77,77,77,77,79,79,79,79,79,79,79,79,79,79,79,79,82
,82,82,82,82,82,82,82,82,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,87,87,87,87,87,87,87,87,87,87,87,87,87,87,89,89,89,89
,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92
,92,92,92,92,92,92,92,92,92,92,92,92,92,92,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94,94
,94,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97
,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97,97
};
byte brightness[] = {255,252,250,250,247,245,242,242,240,237,235,232,232,230,227,227,224,222,219,217,217,214,212,209,209,207,204
,204,201,199,196,194,194,194,194,191,189,186,186,184,181,181,179,176,173,171,171,168,166,163,163,161,158,158,156,153,150,148
,148,145,143,140,140,138,135,135,133,133,135,138,140,140,143,145,148,148,150,153,156,158,158,161,163,166,166,168,171,173,176
,176,179,181,184,186,186,189,191,194,194,196,199,201,204,204,207,209,212,214,214,217,219,222,222,224,227,230,232,232,232,232
,235,237,240,242,242,245,247,250,250,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
,255,255,255,255,255,255,255,255,255,255
};
int size = sizeof(hue);
CRGB interpolate(CRGB from, CRGB to, byte nSteps) {
CRGB ret;
ret.r = map(nSteps, 0, 255, from.r, to.r);
ret.g = map(nSteps, 0, 255, from.g, to.g);
ret.b = map(nSteps, 0, 255, from.b, to.b);
return ret;
}
//------------------SETUP------------------
void setup()
{
Serial.begin(9600);
LEDS.addLeds<WS2811, String1_DATA_PIN ,GRB>(String1_leds, ledsPerStrip);
LEDS.setBrightness(max_bright); // SET BRIGHTNESS TO 1/4 POWER
LEDS.clear();
LEDS.show();
delay(2000);
}
//----------------Loop----------------
void loop() {
Serial.println(size);
for(int h1 = size 1 ; h1 > -1; h1-) {
fill_solid(&(String1_leds[0]), (ledsPerStrip), CHSV(hue[h1],saturation[h1],brightness[h1])); //-CLEAR STRIP
LEDS.show();
delay(50);
Serial.print("h1: “);
Serial.print(h1);
Serial.print(‘,’);
Serial.print(” hue: “);
Serial.print(hue[h1]);
Serial.print(‘,’);
Serial.print(” saturation: “);
Serial.print(saturation[h1]);
Serial.print(‘,’);
Serial.print(” value: ");
Serial.println(brightness[h1]);
Serial.println(size);
}
delay(5000);
for(int h1 = 0 ; h1 < size -1; h1++) {
fill_solid(&(String1_leds[0]), (ledsPerStrip), CHSV(hue[h1],saturation[h1],brightness[h1]));
LEDS.show();
delay(50);
}
delay(5000);
}