How do I use two funcions simultaneously?

So I want to turn on three leds and independently turn on two other leds

int verde1 = 2; // color amarillo
int rojo1 = 3; // color amarillo
int verde2 = 4; // color azul
int rojo2 = 5; // color azul
int led1 = 9; // color blanco
int led2 = 7; // color rojo
int led3 = 11; // color verde

void setup(){
  pinMode(verde1, OUTPUT);
  pinMode(rojo1, OUTPUT);
  pinMode(verde2, OUTPUT);
  pinMode(rojo2, OUTPUT);
  pinMode(led1, OUTPUT);
  pinMode(led2, OUTPUT);
  pinMode(led3, OUTPUT);
}
void loop(){ digitalWrite(verde1, HIGH);
  digitalWrite(rojo2, HIGH);
  delay(100);
  digitalWrite(verde1, LOW);
  digitalWrite(rojo2, LOW);
  delay(100);
  digitalWrite(verde1, HIGH);
  digitalWrite(verde2, HIGH);
  digitalWrite(rojo1, HIGH);
  digitalWrite(rojo2, HIGH);
  delay(100);
  digitalWrite(verde1, LOW);
  digitalWrite(verde2, LOW);
  digitalWrite(rojo1, LOW);
  digitalWrite(rojo2, LOW);
  delay(100);
  digitalWrite(verde2, HIGH);
  digitalWrite(rojo1, HIGH);
  delay(100);
  digitalWrite(verde2, LOW);
  digitalWrite(rojo1, LOW);
  delay(100);

  int parpadeoBicolor;
 
}

void parpadeoBicolor(){
 
    digitalWrite(led1, HIGH);
  delay(75);
  digitalWrite(led1, LOW);
  digitalWrite(led2, HIGH);
  delay(75);
  digitalWrite(led2, LOW);
  digitalWrite(led3, HIGH);
  delay(75);
  digitalWrite(led3, LOW);
}

What's wrong there?

Thank you.

You create the function - but you don't call it; instead you've just declared a variable of type int of the same name.

To call it, you would simply do:

parpadeoBicolor();

within loop, wherever you wanted to call it (and get rid of the int parpadeoBicolor; line)

That said, you might want to have a look at the "doing multiple things at once" threads on these forums - if you're not already running up against the problems of delay(), you will be soon.

The demo Several Things at a Time illustrates the use of millis() to manage timing without blocking. It may help with understanding the technique.

Have a look at Using millis() for timing. A beginners guide if you need more explanation.

...R