File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 3
3
4
4
This example shows the how to enable the tap interrupts.
5
5
6
- Please refer to the header file for more possible settings, found here:
7
- ..\SparkFun_KX13X_Arduino_Library\src\sfe_kx13x_defs.h
8
-
9
6
Written by Elias Santistevan @ SparkFun Electronics, October 2022
10
7
11
- Product :
8
+ Products :
12
9
10
+ SparkFun Triple Axis Accelerometer Breakout - KX132:
13
11
https://www.sparkfun.com/products/17871
14
12
13
+ SparkFun Triple Axis Accelerometer Breakout - KX134:
14
+ https://www.sparkfun.com/products/17589
15
+
16
+
15
17
Repository:
16
18
17
19
https://github.com/sparkfun/SparkFun_KX13X_Arduino_Library
@@ -84,6 +86,6 @@ void loop()
84
86
if ( kxAccel.unknownTap () || kxAccel.doubleTapDetected () ) // These all share the same bit space
85
87
kxAccel.clearInterrupt ();
86
88
87
- delay (25 ); // Delay should be 1/ODR (Output Data Rate), default tap ODR is 400Hz
89
+ delay (2.5 ); // Delay should be 1/ODR (Output Data Rate), default tap ODR is 400Hz
88
90
89
91
}
You can’t perform that action at this time.
0 commit comments