data got from mpu9250 doesn't change

Hi,

I am trying to create an IMU with MPU9250. But when I read back gyro data, the value doesn't change as can be seen in the log below. I have also attach my code. Please help me and thanks for reading :slight_smile:

Gyro -8961 8192 571
Gyro -8961 8192 571
Gyro -8961 8192 571
Gyro -8961 8192 571
Gyro -8961 8192 571
Gyro -8961 8192 571
Gyro -8961 8192 571
Gyro -8961 8192 571
Gyro -8961 8192 571
Gyro -8961 8192 571

here is my code :smiley:

arduino_starter_code_hw5.zip (23.3 KB)