MPU6050 issue

By test_mctesterson , 8 June 2011

Hi,
I compiled the uMPL with the option CONFIG_MPU_SENSORS_MPU6050B1 or A2 with a error in MPU6050B1/A2.h

I updated the MPU_MEMORY_BANKS as followed (bold) to compile it successfully.
/*==== MPU6050A2 MEMORY ====*/
enum MPU_MEMORY_BANKS {
MPU_MEM_RAM_BANK_0 = 0,
MPU_MEM_RAM_BANK_1,
MPU_MEM_RAM_BANK_2,
MPU_MEM_RAM_BANK_3,
....
MPU_MEM_RAM_BANK_10,
MPU_MEM_RAM_BANK_11,
MPU_MEM_NUM_RAM_BANKS,
MPU_MEM_OTP_BANK_0 = 16
};

I hope this is correct.

By the way how can I identify which version (A2 or B1) of the MPU6050 I have?
Thanks

phpbb Topic ID
13605