Error: "using obsolete binding" in sketch

You cannot have more than one loop function.

Your conditional i should be i2.

You're both correct. Any thoughts on the using obsolete binding at 'i' " error? I fixed the previous mistake but I still receive the error.

Revised Sketch:

//Flex Sensor Pin (flexPin)
//the analog pin the Flex Sensor is connected to
int flexPin1 = 0;
int flexPin2 = 1;
int flexPin3 = 2;
int flexPin4 = 3;
int flexPin5 = 4;


void setup() {
  for (int i=2; i<9; i++){
    pinMode(i, OUTPUT);
  for (int i2=9; i2<16; i2++){
    pinMode(i2, OUTPUT);
  for (int i3=16; i2<23; i3++){
    pinMode(i3, OUTPUT);
  for (int i4=23; i2<30; i4++){
    pinMode(i4, OUTPUT);    
  for (int i5=30; i2<37; i5++){
    pinMode(i5, OUTPUT);   
  }
  }
  }
  }
}
}

void loop(){

  for (int i=2; i<9; i++)
  {
    digitalWrite(i, LOW);
  }
  for (int i2=9; i2<16; i2++)
  {    
    digitalWrite(i2, LOW); 
  }
  for (int i3=16; i<23; i3++)
  {    
    digitalWrite(i3, LOW); 
  }
  for (int i4=23; i<30; i4++)
  {    
    digitalWrite(i4, LOW); 
  }
  for (int i5=30; i<37; i5++)
  {    
    digitalWrite(i5, LOW); 
  }  

  /* Read the flex Level 
   Adjust the value 130 to 275 to span 28 to 36
   The values 130 and 275 may need to be widened to suit 
   the minimum and maximum flex levels being read by the 
   Analog pin */
  int lightLevel = map(analogRead(flexPin1), 175, 250, 2, 8);
  int lightLevel2 = map(analogRead(flexPin2), 175, 250, 9, 15);
  int lightLevel3 = map(analogRead(flexPin3), 175, 250, 16, 22);   
  int lightLevel4 = map(analogRead(flexPin4), 175, 250, 23, 29); 
  int lightLevel5 = map(analogRead(flexPin5), 175, 250, 30, 36); 

  
  // Make sure the value is between 4 and 13, to turn on an LED
  int ledON = constrain(lightLevel, 2, 8);
  int ledON2 = constrain(lightLevel2, 9, 15);
  int ledON3 = constrain(lightLevel3, 16, 22);  
  int ledON4 = constrain(lightLevel4, 23, 29);  
  int ledON5 = constrain(lightLevel5, 30, 36);    

  //Blink the LED on
  blink(ledON, 10,1);
  blink(ledON2, 10,1);
  blink(ledON3, 10,1);
  blink(ledON4, 10,1);
  blink(ledON5, 10,1);
  
}

// The blink function - used to turn the LEDs on and off
void blink(int LEDPin, int onTime, int offTime){
  // Turn the LED on                                         
  digitalWrite(LEDPin, HIGH);

  // Delay so that you can see the LED go On.
  delay(onTime);

  // Turn the LED Off                                         
  digitalWrite(LEDPin, LOW);

  // Delay so that you can see the LED go On.
  delay(offTime);
}

// The blink function - used to turn the LEDs on and off
void blink2(int LEDPin2, int onTime2, int offTime2){
  // Turn the LED on                                         
  digitalWrite(LEDPin2, HIGH);

  // Delay so that you can see the LED go On.
  delay(onTime2);

  // Turn the LED Off                                         
  digitalWrite(LEDPin2, LOW);

  // Delay so that you can see the LED go On.
  delay(offTime2);
}

// The blink function - used to turn the LEDs on and off
void blink3(int LEDPin3, int onTime3, int offTime3){
  // Turn the LED on                                         
  digitalWrite(LEDPin3, HIGH);

  // Delay so that you can see the LED go On.
  delay(onTime3);

  // Turn the LED Off                                         
  digitalWrite(LEDPin3, LOW);

  // Delay so that you can see the LED go On.
  delay(offTime3);
}

// The blink function - used to turn the LEDs on and off
void blink4(int LEDPin4, int onTime4, int offTime4){
  // Turn the LED on                                         
  digitalWrite(LEDPin4, HIGH);

  // Delay so that you can see the LED go On.
  delay(onTime4);

  // Turn the LED Off                                         
  digitalWrite(LEDPin4, LOW);

  // Delay so that you can see the LED go On.
  delay(offTime4);
}

// The blink function - used to turn the LEDs on and off
void blink5(int LEDPin5, int onTime5, int offTime5){
  // Turn the LED on                                         
  digitalWrite(LEDPin5, HIGH);

  // Delay so that you can see the LED go On.
  delay(onTime5);

  // Turn the LED Off                                         
  digitalWrite(LEDPin5, LOW);

  // Delay so that you can see the LED go On.
  delay(offTime5);
}

I'm attempting to connect and test a project scheduled to be completed tomorrow but there were power supply issues so the setup needed to be switched to battery power and utilize an on/off switch.

If successful, it should look very interesting.

Thanks for the help! Keep it coming!