No it did not work with the code you supplied. I am not sure what you mean by image of the setup, it's literally just an arduno nano, with an LED strip cut down to 6 led's. Ground to ground, power to 5v, digital to pin 6.
Here is the code I updated...
#include "FastLED.h"
#include <EEPROM.h>
#define NUM_LEDS 6
CRGB leds[NUM_LEDS];
#define DATA_PIN 6
int Arry1[NUM_LEDS] = {0, 3};
int Arry2[NUM_LEDS] = {1, 4};
int Arry3[NUM_LEDS] = {2, 5};
int i = 0;
void setup()
{
FastLED.addLeds<WS2811, DATA_PIN, GRB>(leds, NUM_LEDS).setCorrection( TypicalLEDStrip );
FastLED.clear();
Serial.begin(9600);
}
void loop(){
FastLED.clear();
delay(500);
Ary1();
delay(500);
Ary2();
delay(500);
Ary3();
}
void Ary1(){
FastLED.clear();
for(int i = 0; i < 2; i++){
leds[Arry1[i]] = CRGB::Red;
Serial.println(Arry1[i]);
FastLED.show();
}
}
void Ary2(){
FastLED.clear();
for(int i = 0; i < 4; i++){
leds[Arry2[i]] = CRGB::Red;
Serial.println(Arry2[i]);
FastLED.show();
}
}
void Ary3(){
FastLED.clear();
for(int i = 0; i < 6; i++){
leds[Arry3[i]] = CRGB::Red;
Serial.println(Arry3[i]);
FastLED.show();
}
}