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 36
36
#include < Wire.h>
37
37
#include " SparkFun_KX13X.h"
38
38
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
41
41
42
42
outputData myData; // Struct for the accelerometer's data
43
43
@@ -72,8 +72,8 @@ void setup()
72
72
// "...regs.h" file which specify which can be changed when.
73
73
kxAccel.enableAccel (false );
74
74
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
77
77
78
78
kxAccel.enableDataEngine (); // Enables the bit that indicates data is ready.
79
79
// kxAccel.setOutputDataRate(); // Default is 50Hz
You can’t perform that action at this time.
0 commit comments