Connecting Servo Motor with MPU6050

zhomeslice:
Try this

I tried the code, connected the 3 servos to the pin9, and they are working exatcly the same, but only in the yaw axis. Is the code supposed to do with only 1 servo, or do I have to put the other servos in different pins so that each one work in their respective axis?