          i=0; 
          mode = MODE_BRAS;
       }
-      if(c==254) {
+      else if(c==254) {
          Serial.println(" ");
          i=0; 
          mode = MODE_TANK;

              i=-1; 
            }
         } 
         if(mode == MODE_TANK && i>=0 && i<2 && voltage>6.5) {
            puissance[i]=c;
            //Serial.print("Servo numero ");
            Serial.print(i+1);

      if(c==203) { //MODE 3
        glowingLED(30);
      }*/
      
      else{
         //Serial.print(c);
         //Serial.print(" ");
         if(mode == MODE_BRAS && i>=0 && i<nbrServos /*&& voltage>6.5*/) {
            angle[i]=c;
            //Serial.print("Servo numero ");
            Serial.print(i+1);
