You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when I run this code, my code prints "MPU Initialization failed", which means the line ret = mpu6050_init(I2C_MASTER_NUM); throws an error. However, I can still get the data later on in my program from some other code. So, I decided to see if commenting out the ret = mpu6050_init(I2C_MASTER_NUM); line does anything, and when I tried that, I am still able to get the data.
Could anyone help me understand why the initialization line does not seem to be necessary to program my mpu6500?
The text was updated successfully, but these errors were encountered:
I am using this library to code my mpu6500 using an esp32-s3 board. I was running the following commands to activate and then get data from my MPU:
However, when I run this code, my code prints "MPU Initialization failed", which means the line
ret = mpu6050_init(I2C_MASTER_NUM);
throws an error. However, I can still get the data later on in my program from some other code. So, I decided to see if commenting out theret = mpu6050_init(I2C_MASTER_NUM);
line does anything, and when I tried that, I am still able to get the data.Could anyone help me understand why the initialization line does not seem to be necessary to program my mpu6500?
The text was updated successfully, but these errors were encountered: