first release fork of MPU9250AHRS from Kris Winer
Dependents: step_counter_service_ble
Diff: MPU9250.cpp
- Revision:
- 2:a17f66569378
- Parent:
- 1:c27bb1a0deca
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); }