Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
config.h
00001 // FIFO rate = 200Hz / (1 + this value) 00002 // For example, 0x01 is 100Hz, 0x03 is 50Hz. 00003 // 0x00 to 0x09 00004 #define IMU_FIFO_RATE_DIVIDER 0x09 00005 00006 // Sample rate = 1kHz / (1 + this valye) 00007 // For example, 4 is 200Hz. 00008 #define IMU_SAMPLE_RATE_DIVIDER 4 00009 00010 // measuring range of gyroscope (±n deg/s) 00011 // But other value doesn't yet support. 00012 #define MPU6050_GYRO_FS MPU6050_GYRO_FS_2000 00013 00014 // measuring range of acceleration sensor (±n g) 00015 // But other value doesn't yet support. 00016 #define MPU6050_ACCEL_FS MPU6050_ACCEL_FS_2 00017 00018 #define PC_BAUDRATE 921600
Generated on Sun Aug 7 2022 15:53:38 by
1.7.2