first release fork of MPU9250AHRS from Kris Winer

Dependents:   mbed-os-i2c-test mbed-test-i2c-PCA-biquad-peakdet Mix-code-v2 mbed-os-step-counting ... more

Revision:
2:a17f66569378
Parent:
1:c27bb1a0deca
Child:
3:4f6c69e52534
diff -r c27bb1a0deca -r a17f66569378 MPU9250.cpp
--- a/MPU9250.cpp	Wed Oct 05 10:40:48 2016 +0000
+++ b/MPU9250.cpp	Wed Oct 05 10:43:26 2016 +0000
@@ -5,7 +5,7 @@
 
 mpu9250::mpu9250(PinName _sda, PinName _scl, uint8_t address) : i2c(_sda, _scl)
 {    
-    MPU9250_ADDRESS = address;
+    MPU9250_ADDRESS = address << 1;
     i2c.frequency(400000);
 }