Mark Peter Vargha / BNO055

Dependents:   Project Campus_Safety_Bot

Fork of BNO055 by Dave Turner

Files at this revision

API Documentation at this revision

Comitter:
StressedDave
Date:
Thu Sep 10 18:26:47 2015 +0000
Parent:
4:481ecdf3baf8
Child:
6:1f722ffec323
Commit message:
I2C speed increased back to 400kHz

Changed in this revision

BNO055.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/BNO055.cpp	Thu Sep 10 15:48:09 2015 +0000
+++ b/BNO055.cpp	Thu Sep 10 18:26:47 2015 +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 = 1.0f;
     rate_scale = 1.0f/16.0f;