BNO055 ARM mBed C++ Driver
Fork of BNO055 by
Revision 9:f04b0a4c8057, committed 2017-05-04
- Comitter:
- sog_yang
- Date:
- Thu May 04 02:37:08 2017 +0000
- Parent:
- 8:dee5f9d9f36c
- Commit message:
- Project init
Changed in this revision
BNO055.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r dee5f9d9f36c -r f04b0a4c8057 BNO055.cpp --- a/BNO055.cpp Sun Apr 23 01:08:53 2017 +0000 +++ b/BNO055.cpp Thu May 04 02:37:08 2017 +0000 @@ -3,7 +3,7 @@ BNO055::BNO055(PinName SDA, PinName SCL) : _i2c(SDA,SCL){ //Set I2C fast and bring reset line high - _i2c.frequency(100000); + _i2c.frequency(400000); address = BNOAddress; accel_scale = 0.001f; rate_scale = 1.0f/16.0f;