Neopixels as an array

I have an arduino-Yun-Project that uses 8 different Neopixel-circles, all seperately hooked up to different pins of the arduino.

First of all: It is not possible to hook these circles up to each other and use them as just one long neopixel-strip, because I only have three wires to each of these circles.

Right now I have the Neopixel-Definitions for completely independent objects, like this:

Adafruit_NeoPixel pixels_0 = Adafruit_NeoPixel(NUMPIXELS, 2, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel pixels_1 = Adafruit_NeoPixel(NUMPIXELS, 3, NEO_GRB + NEO_KHZ800);
Adafruit_NeoPixel pixels_2 = Adafruit_NeoPixel(NUMPIXELS, 4, NEO_GRB + NEO_KHZ800);

I would much rather use them as an array as in pixels[0], pixels[1] and pixels[2], because then I'd have significantly less code in my script.
Unfortunately I have no idea if that works at all and how i would have to do it.
I tried to declare the objects like this:

Adafruit_NeoPixel pixels[] = {Adafruit_NeoPixel(NUMPIXELS, 2, NEO_GRB + NEO_KHZ800), Adafruit_NeoPixel(NUMPIXELS, 3, NEO_GRB + NEO_KHZ800), Adafruit_NeoPixel(NUMPIXELS, 4, NEO_GRB + NEO_KHZ800)};

Using this code I didn't get a compiler-error - but my LEDs didn't work either...

Could anybody just give me a little push in the right direction? I'd really appreciate that!

Since you don't get a compile error and your sketch is not working I would suspect a logic error in your sketch. I hope that helps enough because I can't see your sketch from here.

If I use the upper syntax (pixels_1, pixels_2, pixels_3) the sketch works just fine...

Not everything that is syntactically correct and compiles without error will actually result in a blinking LED - so I hoped that anybody could push me into the correct direction...

zimbosmurf:
First of all: It is not possible to hook these circles up to each other and use them as just one long neopixel-strip, because I only have three wires to each of these circles.

If you are using the Adafruit rings, then it should be possible to daisy-chain the rings - it says so right on the site, plus pictures of the rings show a solder point for the output port of the last neopixel (to hook up to the input on the next ring); power and ground would be paralleled (that said, it looks like the Adafruit rings have two other thru-hole pads that aren't marked (?) - I would suspect that those may be for power and ground).

Even if you aren't using the Adafruit rings - it should be possible to daisy-chain another ring with some soldering onto the PCB.