// https://www.reddit.com/r/FastLED/comments/1gqb494/advice_for_using_clusters_of_leds_as_pixels/
#include <FastLED.h>
#define NUM_LEDS (4 * 16)
CRGBArray<NUM_LEDS> leds;
CRGBSet const sets[] = {
leds(0, 15),
leds(16, 31),
leds(32, 47),
leds(48, 63),
};
void setup() {
FastLED.addLeds<WS2812B, 2, GRB>(leds, NUM_LEDS);
}
void loop() {
static uint8_t n = 0;
sets[n].fill_solid(CRGB::White);
n = (n + 1) % 4;
FastLED.show();
FastLED.clear();
delay(250);
}
nano:12
nano:11
nano:10
nano:9
nano:8
nano:7
nano:6
nano:5
nano:4
nano:3
nano:2
nano:GND.2
nano:RESET.2
nano:0
nano:1
nano:13
nano:3.3V
nano:AREF
nano:A0
nano:A1
nano:A2
nano:A3
nano:A4
nano:A5
nano:A6
nano:A7
nano:5V
nano:RESET
nano:GND.1
nano:VIN
nano:12.2
nano:5V.2
nano:13.2
nano:11.2
nano:RESET.3
nano:GND.3
leds1:DOUT
leds1:VDD
leds1:VSS
leds1:DIN
leds2:DOUT
leds2:VDD
leds2:VSS
leds2:DIN
leds3:DOUT
leds3:VDD
leds3:VSS
leds3:DIN
leds4:DOUT
leds4:VDD
leds4:VSS
leds4:DIN