Masahiro Furukawa / Mbed 2 deprecated MPU-9250-Ch2_AHRS_test

Dependencies:   MPU9250_SPI mbed

Fork of MPU9250_AHRS by maedalab

Revision:
25:f8fd336981cb
Parent:
23:2e1ee10d4ee0
Child:
26:0ffbe34a4953
--- a/main.cpp	Wed Jul 06 04:56:14 2016 +0000
+++ b/main.cpp	Wed Jul 06 06:05:48 2016 +0000
@@ -68,8 +68,8 @@
             wait(90);
         }
         printf("\nCH %d\nWHOAMI=0x%2x\n",i, imu[i]->whoami());                //output the I2C address to know if SPI is working, it should be 104
-        printf("Gyro_scale=%u\n",imu[i]->set_gyro_scale(BITS_FS_500DPS));    //Set 500DPS scale range for gyros
-        printf("Acc_scale=%u\n",imu[i]->set_acc_scale(BITS_FS_4G));           //Set 4G scale range for accs
+        printf("Gyro_scale=%u\n",imu[i]->set_gyro_scale(BITS_FS_2000DPS));    //Set 500DPS scale range for gyros    //0706 wada 500to2000
+        printf("Acc_scale=%u\n",imu[i]->set_acc_scale(BITS_FS_16G));           //Set 4G scale range for accs        //0706 wada 4to16
         printf("AK8963 WHIAM=0x%2x\n",imu[i]->AK8963_whoami());
         imu[i]->AK8963_calib_Magnetometer();
         wait(0.1);