   // attach servo objects, these will generate the correct 
   // pulses for driving Electronic speed controllers, servos or other devices
   // designed to interface directly with RC Receivers  
-  FL_MOTOR.attach(FL_MOTOR_OUT_PIN);
-  FR_MOTOR.attach(FR_MOTOR_OUT_PIN);
-  BL_MOTOR.attach(BL_MOTOR_OUT_PIN);
-  BR_MOTOR.attach(BR_MOTOR_OUT_PIN);
+  MOTOR[0].attach(FL_MOTOR_OUT_PIN);
+  MOTOR[1].attach(FR_MOTOR_OUT_PIN);
+  MOTOR[2].attach(BL_MOTOR_OUT_PIN);
+  MOTOR[3].attach(BR_MOTOR_OUT_PIN);
 
   // initialize i2c as slave
   // define call backs ofr I2C


void loop()
{
delay(10);	

}



void SetServos(int byteCount)

  else {
    //short read from master
    //Do nothing
    // Serial.println("Short read from master :");
    // Serial.print("Expected 8 bytes,");
    // Serial.print("Received ");
    // Serial.print(byteCount);
    // Serial.println(" bytes");

    return;
  }

  //Update servo values
  for (int i=0;i<SERVO_NUM;i++)
    {
      	    // Serial.print("Received value ");
	    // Serial.print(i);
	    // Serial.print(" = ");
	    // Serial.println(rcv_data[i].i);

      MOTOR[i].writeMicroseconds(rcv_data[i].i);
    }

  return;

}

