help with simple array

Hello,
I just wrote a small program as you see:

int filaLuci [] = {13, 9, 10};

void setup()  {
 for (int i=0; i<3; i++)
 pinMode (filaLuci [i], OUTPUT);
}
 


void loop() {
  
 digitalWrite (filaLuci [ 0 ], HIGH); 
 delay (1000); 
 digitalWrite (filaLuci [ 0 ], LOW); 
 delay (1000); 
 digitalWrite (filaLuci [ 1 ], HIGH);
 digitalWrite (filaLuci [ 2 ], HIGH); 
 delay (1000);
 digitalWrite (filaLuci [ 1 ], LOW);
 digitalWrite (filaLuci [ 2 ], LOW); 
 delay (1000);

 
 }

I want to know if there is the possibility to activate the 1 and 2 pins in the same digitalWrite line. I did try with:

[/code]

digitalWrite (filaLuci [ 1, 2 ], HIGH);

[/code]

but it does not work.

any suggestion?

thank you

matteo

I want to know if there is the possibility to activate the 1 and 2 pins in the same digitalWrite line.

Not with digitalWrite, no.
But you could maybe look at direct port manipulation, but it won't be as simple or as portable.