#include <FastLED.h>
#define NUM_LEDS (6 * 15)
// Allocate space for all LEDs
CRGBArray<NUM_LEDS> leds;
// Create an array of groups of LEDs
CRGBSet fixtures[] = {
leds(0, 14),
leds(15, 29),
leds(30, 44),
leds(45, 59),
leds(60, 74),
leds(75, 89),
};
void setup() {
FastLED.addLeds<WS2812B, 2, GRB>(leds, NUM_LEDS);
// light each fixture a different colour
fixtures[0].fill_solid(CRGB::Red);
fixtures[1].fill_solid(CRGB::Orange);
fixtures[2].fill_solid(CRGB::Green);
fixtures[3].fill_solid(CRGB::Blue);
fixtures[4].fill_solid(CRGB::Purple);
fixtures[5].fill_solid(CRGB::Grey);
FastLED.show();
}
void loop() {
delay(1000);
}