+#include <motor.h>
+
 
 
 

  Memorise one position
  There's 4 different motors on the chair and each one has one position
 */

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


Motor motor4(MOTOR4_BACK,MOTOR4_FORWARD,POTENTIOMETER4,MARGIN_MOTOR) ;



//-------------------Help functions-------------------

boolean is_a_number(int n)
{
  return n >= 48 && n <= 57;
}

int ascii2int(int n, int byte_read)
{
  return n*10 + (byte_read - 48);
}


//-------------------Setup routine-------------------

void setup() {        

  Serial.begin(baudrate);  
  // // initialize the digital pin as an output.
  // pinMode(MOTOR_BACK, OUTPUT);     
  // pinMode(MOTOR_FORWARD, OUTPUT);     
