Created
December 12, 2018 09:12
-
-
Save ctkjedi/1872b05ddae703a6f4daec6098ff5827 to your computer and use it in GitHub Desktop.
FastLED Multiple Strip Array Build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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