my own one

Fork of FXAS21002 by Weiqian Xu

Revision:
4:c910725da6d1
Parent:
1:b774372b3913
Child:
5:594ebd67e057
diff -r b774372b3913 -r c910725da6d1 FXAS21002.cpp
--- 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);