Works with 8g

Fork of MMA8452 by Ashley Mills

Revision:
22:0d00605bf830
Parent:
21:a92a632a0cc7
--- a/MMA8452.cpp	Fri Mar 07 14:53:40 2014 +0000
+++ b/MMA8452.cpp	Mon Jun 27 19:21:51 2016 +0000
@@ -43,7 +43,7 @@
    _bitDepth = BIT_DEPTH_UNKNOWN;
    setBitDepth(BIT_DEPTH_12);
    _dynamicRange = DYNAMIC_RANGE_UNKNOWN;
-   setDynamicRange(DYNAMIC_RANGE_2G);
+   setDynamicRange(DYNAMIC_RANGE_8G);
    
    MMA8452_DBG("Done");
 }