 
 //-------------------Motor units-------------------
 
-Motor assise(MOTOR1_BACK,MOTOR1_FORWARD,POTENTIOMETER1,MARGIN_MOTOR) ;
-Motor avancement(MOTOR2_BACK,MOTOR2_FORWARD,POTENTIOMETER2,MARGIN_MOTOR) ;
-Motor hauteur(MOTOR3_BACK,MOTOR3_FORWARD,POTENTIOMETER3,MARGIN_MOTOR) ;
-Motor dossier(MOTOR4_BACK,MOTOR4_FORWARD,POTENTIOMETER4,MARGIN_MOTOR) ;
+Motor assise(ASSISE_BACK,ASSISE_FORWARD,POTENTIOMETER1,MARGIN_MOTOR) ;
+
+Motor avancement(AVANCEMENT_BACK,AVANCEMENT_FORWARD,POTENTIOMETER2,MARGIN_MOTOR) ;
+
+Motor hauteur(HAUTEUR_BACK,HAUTEUR_FORWARD,POTENTIOMETER3,MARGIN_MOTOR) ;
+
+Motor dossier(DOSSIER_BACK,DOSSIER_FORWARD,POTENTIOMETER4,MARGIN_MOTOR) ;
 
 
 //-------------------Seat-------------------




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-------------------

       
       seat.motor_hauteur.go_backward();
       
   }else seat.motor_hauteur.go_stop();
   
   
  
  
}
