Google translator
am currently in the process of building a domino clock with an ESp8266 and 63 LEDs.
A web server to set the LEDs is already available and works perfectly.
Now I would like to create a rainbow effect and that's where I get stuck.
They are WS2812B LEDs with Fastled.
I can get a rainbow effect on all LEDs at the same time.
Question:
How do I have to program it that only selected LEDs have a rainbow effect.
my code.
#include "FastLED.h"
#define NUM_LEDS 63
#define DATA_PIN 1
CRGB leds[NUM_LEDS];
int r = 100, g = 100, b = 0;
int BRIGHTNESS = 200;
int hhone[] = {8};
int hhtwo[] = {4, 20};
int hhthree[] = {4, 8, 20};
int hhfour[] = {4, 6, 18, 20};
int hhfive[] = {4, 6, 8 , 18, 20};
int hhsix[] = {4, 5, 6, 18, 19, 20};
int hhseven[] = {12, 4, 5, 6, 18, 19, 20};
int hheight[] = {0, 2, 4, 8, 12, 14, 16, 20};
int hhnine[] = {0, 2, 16, 14 , 12, 4, 6, 18, 20};
int hhten[] = {0, 2, 4, 6, 8, 12, 14, 16, 18, 20};
int hheleven[] = {0, 1, 2, 4, 6, 8, 14, 15, 16, 18, 20};
int hhtwelve[] = {0, 1, 2, 4, 5, 6, 14, 15, 16, 18, 19, 20};
int *arrays[26] = {hhone, hhtwo, hhthree, hhfour, hhfive, hhsix, hhseven, hheight, hhnine, hhten, hheleven, hhtwelve, tenone, tentwo, tenthree, tenfour, tenfive, minone, mintwo, minthree, minfour, minfive, minsix, minseven, mineight, minnine};
FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);
setArray(mintwo, 2)
FastLED.show();
Google is normally my best friend, but nothing found
Of course I've already started a few attempts but can't get it.
I hope for help.

