MPU6050 is still giving the value -1

Hi, I’ve been trying to use the MPU6050. I tried this code (Arduino Playground - MPU-6050), but when I upload it to Arduino, serial monitor is still giving the value -1 everywhere, except for temperature.
Thanks for any comment in advance

You are not communicating with the sensor, as if the sensor is not connected.
Start with a I2C Scanner sketch.

What is the temperature showing?

Please post your code.
In code tags.

As mentioned, use the I2C Address Scanner to check communications. Nothing will work until it reports the correct I2C address.

It reports that there is no device found, but I don't know what is wrong

Then, obviously, you need to show us a wiring diagram and photos of your wiring.

I found the mistake it was in the wiring, now the serial monitor shows this: AcX = 1816 | AcY = 72 | AcZ = 16712 | Tmp = 24.86 | GyX = -66 | GyY = -13 | GyZ = 11 AcX = 2064 | AcY = -72 | AcZ = 15800 | Tmp = 24.81 | GyX = -92 | GyY = 93 | GyZ = 35 AcX = 1708 | AcY = 48 | AcZ = 16672 | Tmp = 24.86 | GyX = -56 | GyY = 37 | GyZ = -8 AcX = 1768 | AcY = -32 | AcZ = 16616 | Tmp = 24.86 | GyX = -64 | GyY = 9 | GyZ = 14 AcX = 1772 | AcY = 0 | AcZ = 16636 | Tmp = 24.86 | GyX = -60 | GyY = 28 | GyZ = 4 AcX = 1808 | AcY = 16 | AcZ = 16780 | Tmp = 24.77 | GyX = -59 | GyY = 13 | GyZ = 22 AcX = 1736 | AcY = 60 | AcZ = 16940 | Tmp = 24.95 | GyX = -71 | GyY = 8 | GyZ = 25 AcX = 1760 | AcY = 52 | AcZ = 16780 | Tmp = 24.86 | GyX = -62 | GyY = 18 | GyZ = 17 AcX = 1728 | AcY = 72 | AcZ = 16776 | Tmp = 24.81 | GyX = -84 | GyY = 14 | GyZ = 15 AcX = 1768 | AcY = 24 | AcZ = 16644 | Tmp = 24.86 | GyX = -56 | GyY = 9 | GyZ = 25 Is it, what is should show?

Try tilting it

There are certain bigger changes, but probabaly have to use differnt code to have the values more precise.