Could someone tell me why the AnalogWrite function is disabled if the Servo library is used? Is it something to do with how the servo and AnalogWrite timers conflict? Thanks
Yes. The Servo library uses Timer 1 and PWM (analogWrite) on pins 9 and 10 needs Timer 1 so is disabled. The other PWM pins are fine.