Skip to content

Instantly share code, notes, and snippets.

@ctkjedi
Created December 12, 2018 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctkjedi/1872b05ddae703a6f4daec6098ff5827 to your computer and use it in GitHub Desktop.
Save ctkjedi/1872b05ddae703a6f4daec6098ff5827 to your computer and use it in GitHub Desktop.
FastLED Multiple Strip Array Build
void setup() {
delay(3000); // 3 second delay for recovery
FastLED.addLeds<LED_TYPE, 3>(leds, 0, NUM_LEDS_PER_STRIP);
FastLED.addLeds<LED_TYPE, 4>(leds, NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
FastLED.addLeds<LED_TYPE, 5>(leds, 2 * NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
FastLED.addLeds<LED_TYPE, 6>(leds, 3 * NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
FastLED.addLeds<LED_TYPE, 7>(leds, 4 * NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
// set master brightness control
FastLED.setBrightness(BRIGHTNESS);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment