Analog output problems

Hi

I am trying to control a dc motor with help of an H-bridge. Before i added the servo, the motors were working fine. However at the line headServo.attach(3) it goes wrong. The analogPin on pin 10 wont send analog signals and will only send digital signals. When the line is commented out the analogPin on pin 10 will send analog signals again. This happens with all the .attach() lines. It also happens when only one servo is attached.

#include <Servo.h>
Servo headServo;
Servo armsServo1;
Servo armsServo2;

int leftMotorSpeed = 6;
int leftMotor1 = 5;
int leftMotor2 = 4;
int rightMotorSpeed = 10;
int rightMotor1 = 8;
int rightMotor2 = 7;

void setup(){
  Serial.begin(250000);
  pinMode(leftMotorSpeed, OUTPUT);
  pinMode(leftMotor1, OUTPUT);
  pinMode(leftMotor2, OUTPUT);
  pinMode(rightMotorSpeed, OUTPUT);
  pinMode(rightMotor1, OUTPUT);
  pinMode(rightMotor2, OUTPUT);
  headServo.attach(3);
  armsServo1.attach(11);
  armsServo2.attach(9);
}

Can anyone help.

Cheers

RTFM

And don't cross-post.
CROSS-POSTING WASTES TIME