Adafruit Motor Control Shield controlling 1 DC Motor, 1 Servo, 1 Ping

I had good performances controlling 1 DC Motor (Farw-Bacw-Speed), or 1 Servo or 1 Ping, one by one using Arduino UNO + Adafruit Motor Contro Shield.
I had several interferece problemes installing two or three devices together.
May you sugget a code suitable for all of them?.
Thanks
Vincenzo

We can't see your code. What problems do you have? The Adafruit Motor Shield can control 4 DC motors or 2 Servos so it should be pretty straight forward to connect them up