update
Fork of BNO055_fusion by
Revision 7:e6ee54b8f6f9, committed 2017-04-10
- Comitter:
- wchurch
- Date:
- Mon Apr 10 21:00:17 2017 +0000
- Parent:
- 6:662c92c84505
- Commit message:
- typo fix;
Changed in this revision
BNO055.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 662c92c84505 -r e6ee54b8f6f9 BNO055.cpp --- a/BNO055.cpp Mon Apr 10 20:12:38 2017 +0000 +++ b/BNO055.cpp Mon Apr 10 21:00:17 2017 +0000 @@ -109,7 +109,7 @@ } else { deg_or_rad = 0; // Degree per sec } - dt[0] = BNO055_GYRO_X_LSB; + dt[0] = BNO055_GYR_X_LSB; _i2c.write(chip_addr, dt, 1, true); _i2c.read(chip_addr, dt, 6, false); x = dt[1] << 8 | dt[0];