Troubles with controlling leds (neoPixel)

Hey,

I am trying to change the color of my 8-led strip to values from array. However, I think I am not giving the strip.Color correct kind of input as it gives me an error "'array' was not declared in this scope". Could someone help me a bit with this part of the code? Thx a lot beforehand!!!

  int array[2][8][3] = {
    {{124, 109, 39},{124, 109, 39},{124, 109, 39},{124, 109, 39},{124, 109, 39},{124, 109, 39},{124, 109, 39},{124, 109, 39}},
    {{45, 83, 199}, {45, 83, 199}, {45, 83, 199}, {45, 83, 199}, {45, 83, 199}, {45, 83, 199}, {45, 83, 199}, {45, 83, 199}}
  };



void fromArray(uint8_t wait){
  for(int i=0; i<2; i++){
    for (int j=0; j<strip.numPixels(); j++){
      strip.setPixelColor(j, strip.Color(array[i][j]));
    }
    strip.show();
    delay(wait)
  } 
}

Could someone help me a bit with this part of the code?

No because your error is not in the bit of the code you posted. You have to post all the code then we can try it and see what is wrong.

Please read this:-
How to use this forum

Mike is correct, you should always post your full code, but in this case i think i see the problem, or part of it. Try this:

strip.Color(array[i][j][0],array[i][j][1],array[i][j][2])

Paul