my own one

Fork of FXAS21002 by Aswin Sivakumar

Files at this revision

API Documentation at this revision

Comitter:
xuweiqian9999
Date:
Fri May 25 23:21:30 2018 +0000
Parent:
1:b774372b3913
Commit message:
blah

Changed in this revision

FXAS21002.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/FXAS21002.cpp	Tue Dec 22 00:22:46 2015 +0000
+++ b/FXAS21002.cpp	Fri May 25 23:21:30 2018 +0000
@@ -32,8 +32,8 @@
    gyroi2c.write(FXAS21002_I2C_ADDRESS, d,2);   
           
    
-   d[0] = FXAS21002_CTRL_REG0;                       //sets FS =+/- 2000 dps
-   d[1] = 0x00;
+   d[0] = FXAS21002_CTRL_REG0;                       //sets FS =+/- 1000 dps
+   d[1] = 0x03;
    gyroi2c.write(FXAS21002_I2C_ADDRESS, d, 2);