#include "FastLED.h"

#define NUM_STRIPS 8
#define NUM_LEDS_PER_STRIP 50

CRGB blackleds[NUM_LEDS_PER_STRIP];
CRGB greenleds[NUM_LEDS_PER_STRIP];


void setup() {
  FastLED.addLeds<NEOPIXEL, 8> (blackleds, 0, NUM_LEDS_PER_STRIP);
  FastLED.addLeds<NEOPIXEL, 27>(blackleds, 0, NUM_LEDS_PER_STRIP);
  FastLED.addLeds<NEOPIXEL, 16>(blackleds, 0, NUM_LEDS_PER_STRIP);
  FastLED.addLeds<NEOPIXEL, 17>(blackleds, 0, NUM_LEDS_PER_STRIP);
  FastLED.addLeds<NEOPIXEL, 25>(blackleds, 0, NUM_LEDS_PER_STRIP);
  FastLED.addLeds<NEOPIXEL, 26>(blackleds, 0, NUM_LEDS_PER_STRIP);
  FastLED.addLeds<NEOPIXEL, 12>(blackleds, 0, NUM_LEDS_PER_STRIP);
  FastLED.addLeds<NEOPIXEL, 13>(blackleds, 0, NUM_LEDS_PER_STRIP);
  for (uint8_t i = 0; i < NUM_LEDS_PER_STRIP; i++) {
    greenleds[i] = CRGB::Green;
  }
}


void loop() {
  static uint8_t litstrip = 0;
  for (uint8_t strip = 0; strip < NUM_STRIPS; strip++) {
    FastLED[strip].setLeds(strip == litstrip ? greenleds : blackleds, NUM_LEDS_PER_STRIP);
    FastLED[strip].showLeds(255); // 255 is brightness
  }
  litstrip = (litstrip + 1) % NUM_STRIPS;
  delay(100);
}