looking for help using Multiple Controller Examples
is it possible to add multiple string with different numbers of led defined per string
I have compiled the following code but not sure if there is a better way?
#include <FastLED.h>
#define NUM_LEDS_PART_1 154
#define NUM_LEDS_PART_2 158
#define NUM_LEDS_PART_3 133
#define NUM_LEDS_PART_4 140
#define NUM_LEDS_PART_5 150
#define NUM_LEDS_PART_6 148
#define COLOR_ORDER GRB
#define BRIGHTNESS 128
#define DELAY 10
CRGB ledsA[NUM_LEDS_PART_1];
CRGB ledsB[NUM_LEDS_PART_2];
CRGB ledsC[NUM_LEDS_PART_3];
CRGB ledsD[NUM_LEDS_PART_4];
CRGB ledsE[NUM_LEDS_PART_5];
CRGB ledsF[NUM_LEDS_PART_6];
void setup() {
FastLED.addLeds<WS2812, 1>(ledsA, NUM_LEDS_PART_1);
FastLED.addLeds<WS2812, 2>(ledsB, NUM_LEDS_PART_2);
FastLED.addLeds<WS2812, 3>(ledsC, NUM_LEDS_PART_3);
FastLED.addLeds<WS2812, 4>(ledsD, NUM_LEDS_PART_4);
FastLED.addLeds<WS2812, 5>(ledsE, NUM_LEDS_PART_5);
FastLED.addLeds<WS2812, 6>(ledsF, NUM_LEDS_PART_6);
}