my own one
Fork of FXAS21002 by
Revision 5:594ebd67e057, committed 2018-06-11
- Comitter:
- xuweiqian9999
- Date:
- Mon Jun 11 20:33:08 2018 +0000
- Parent:
- 4:c910725da6d1
- Commit message:
- precision of gyro adjusted
Changed in this revision
FXAS21002.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/FXAS21002.cpp Fri May 25 23:21:30 2018 +0000 +++ b/FXAS21002.cpp Mon Jun 11 20:33:08 2018 +0000 @@ -33,7 +33,7 @@ d[0] = FXAS21002_CTRL_REG0; //sets FS =+/- 1000 dps - d[1] = 0x03; + d[1] = 0x00; gyroi2c.write(FXAS21002_I2C_ADDRESS, d, 2);