Error: "using obsolete binding" in sketch

  for (int i2=9; i<16; i2++)

Your conditional i should be i2.