File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/example1_basic_readings Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3636#include < Wire.h>
3737#include " SparkFun_KX13X.h"
3838
39- // SparkFun_KX132 kxAccel;
40- SparkFun_KX134 kxAccel; // For the KX134, uncomment this and comment line above
39+ SparkFun_KX132 kxAccel;
40+ // SparkFun_KX134 kxAccel; // For the KX134, uncomment this and comment line above
4141
4242outputData myData; // Struct for the accelerometer's data
4343
@@ -72,8 +72,8 @@ void setup()
7272 // "...regs.h" file which specify which can be changed when.
7373 kxAccel.enableAccel (false );
7474
75- // kxAccel.setRange(SFE_KX132_RANGE16G); // 16g Range
76- kxAccel.setRange (SFE_KX134_RANGE16G); // 16g for the KX134
75+ kxAccel.setRange (SFE_KX132_RANGE16G); // 16g Range
76+ // kxAccel.setRange(SFE_KX134_RANGE16G); // 16g for the KX134
7777
7878 kxAccel.enableDataEngine (); // Enables the bit that indicates data is ready.
7979 // kxAccel.setOutputDataRate(); // Default is 50Hz
You can’t perform that action at this time.
0 commit comments