VGR
Dependents: VITI_motor_angle_1 VITI_motor_angle_2 VITI_motor_angle_3
Diff: LSM9DS1.cpp
- Revision:
- 7:e6e3d320eb6c
- Parent:
- 6:28c4b3c8b43d
- Child:
- 8:16e88babd42a
--- a/LSM9DS1.cpp Thu Jun 15 07:17:11 2017 +0000 +++ b/LSM9DS1.cpp Thu Jun 15 08:42:23 2017 +0000 @@ -344,6 +344,7 @@ // Write the address we are going to read from and don't end the transaction i2c.write(xgAddress, &subAddress, 1, true); + // i2c.write(xgAddress, &subAddress, 1); // Read in all 8 bit registers containing the axes data i2c.read(xgAddress, data, 6);