Let's Make Robots!

problem: servo turns to right when motors engage

Hi all,

I'm trying to make the start here robot with the 18m2 starter kit and I've encountered a problem.

With the current setup, whenever the motors turn on, the servo turns to as far right as possible then back again after they've stopped. I'm using a slightly modified version of the code on the start here page and even when I take all servo commands out of the code this problem still occurs. However, when I run the code without the motors plugged in this problem does not occur.

Can anyone help me?

Cheers