Connecting Servo Motor with MPU6050

zhomeslice:
So does your sweep.I'm guide work properly

So i'm gonna explain my situation clearly. I tested all my sg90 with Sweep Code, they worked how they are supposed to with sweep code (moved from 180 degrees to 0 degrees).
Next I used the code you gave me.Everythings connected properly. When I use the code and move the MPU, the servos move from 180 degrees to 0 degrees, but, before they move again, they tremble a bit and then they go from 0 degrees to 180 again (always like this). This is my situation right now. Any question, please ask.