int x;
int cr;
int cg;
int cb;
int carryr;
int carryg;
int carryb;
int go = 1;
uint8_t colr[190];
uint8_t colg[190];
uint8_t colb[190];
#include <FastLED.h>

#define NUM_LEDS 189

#define DATA_PIN 3
#define CLOCK_PIN 13

CRGB leds[NUM_LEDS];

void setup() {
  FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);  // GRB ordering is typical
  Serial.begin(2000000);
}


void colorassign() {
  for (x = 0; x < 189; x++) {
    colr[x] = 0;
    colg[x] = 128;
    colb[x] = 0;
    leds[x].setRGB(colr[x],colg[x],colb[x]); // this command doesn't work either
    // leds[x] = CRGB(colr[x], colg[x], colb[x]);
  }
  // uncomment this chunk blow and it stops working. after assigning every led one color, I want to go back
  //and make every 25th led starting at 14 a different color(this would light up left corner of my led cube bottom to top), but it just stops working all together

  /*
    for(x=14;x<189;x+25){
    colr[x]=30;
    colg[x]=30;
    colb[x]=30;
    leds[x] = CRGB(colr[x],colg[x],colb[x]);
    }
  */
}


void loop() {
  if (go == 1) {
    go = 0;
    colorassign();
    FastLED.show();
    //FastLED.show();
    delay(1000);
  }
}
FPS: 0
Power: 0.00W