        
        seat.motor_hauteur.go_backward();
        
-   }
-   
-   if(  digitalRead(BUTTON_DOSSIER_FORWARD) == LOW
-     && digitalRead(BUTTON_DOSSIER_BACK) == LOW 
-     && digitalRead(BUTTON_ASSISE_FORWARD) == LOW 
-     && digitalRead(BUTTON_ASSISE_BACK) == LOW 
-     && digitalRead(BUTTON_AVANCEMENT_FORWARD) == LOW 
-     && digitalRead(BUTTON_AVANCEMENT_BACK) == LOW 
-     && digitalRead(BUTTON_HAUTEUR_FORWARD) == LOW 
-     && digitalRead(BUTTON_HAUTEUR_BACK) == LOW )
-     {
-       seat.motor_hauteur.go_stop();
-       seat.motor_dossier.go_stop();
-       seat.motor_assise.go_stop();
-       seat.motor_avancement.go_stop();
-
-     }
+   }else seat.motor_hauteur.go_stop();
+   
+   
   
   
 }




const int BUTTON_DOSSIER_FORWARD = 23;     // the number of the pushbutton pin
const int BUTTON_DOSSIER_BACK = 25;     // the number of the pushbutton pin

const int BUTTON_ASSISE_FORWARD = 0;     // the number of the pushbutton pin
const int BUTTON_ASSISE_BACK = 1;     // the number of the pushbutton pin

const int BUTTON_AVANCEMENT_FORWARD = 2;     // the number of the pushbutton pin
const int BUTTON_AVANCEMENT_BACK = 3;     // the number of the pushbutton pin

const int BUTTON_HAUTEUR_FORWARD = 5;     // the number of the pushbutton pin
const int BUTTON_HAUTEUR_BACK = 6 ;    // the number of the pushbutton pin
//const int BUTTON_ASSISE_FORWARD = 27;     // the number of the pushbutton pin
//const int BUTTON_ASSISE_BACK = 29;     // the number of the pushbutton pin

//const int BUTTON_AVANCEMENT_FORWARD = 31;     // the number of the pushbutton pin
//const int BUTTON_AVANCEMENT_BACK = 33;     // the number of the pushbutton pin

//const int BUTTON_HAUTEUR_FORWARD = 35;     // the number of the pushbutton pin
//const int BUTTON_HAUTEUR_BACK = 37 ;    // the number of the pushbutton pin


//-------------------Misc-------------------


//-------------------Motors-------------------

const int DOSSIER_BACK = 22;
const int DOSSIER_FORWARD = 24;

const int HAUTEUR_BACK = 26;
const int HAUTEUR_FORWARD = 28;

const int AVANCEMENT_BACK = 30;
const int AVANCEMENT_FORWARD = 32;

const int ASSISE_BACK = 34;
const int ASSISE_FORWARD = 36;


//-------------------Potentiometers-------------------
