I2C library for Bosch BNO055 sensor

Dependents:   BNO055_HelloWorld robfish_test_IMU_and_hallsensor SCRIBE_stepper SCRIBE_servo ... more

Based off the Bosch Sensortec driver stored at GitHub. I've broken out the main control functions out as separate functions, save for the interrupt setting up, Configuration for the separate sensors not yet enabled.

Revision:
4:481ecdf3baf8
Parent:
3:1db1628eb8b2
Child:
5:beaa2bff7ff0
--- a/BNO055.cpp	Sun May 31 07:22:40 2015 +0000
+++ b/BNO055.cpp	Thu Sep 10 15:48:09 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(400000);
+    _i2c.frequency(100000);
     address = BNOAddress;
     accel_scale = 1.0f;
     rate_scale = 1.0f/16.0f;