File tree 3 files changed +0
-7
lines changed
libraries/CurieIMU/examples
3 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,6 @@ void setup() {
38
38
CurieIMU.setDetectionDuration (CURIE_IMU_SHOCK, CURIE_IMU_TAP_SHOCK_DURATION_50MS); // 50ms
39
39
CurieIMU.enableInterrupt (CURIE_IMU_SHOCK, true );
40
40
41
- /* Enable Interrupts Notifications */
42
- CurieIMU.setIntEnabled (true );
43
-
44
41
Serial.println (" IMU initialisation complete, waiting for events..." );
45
42
}
46
43
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ void setup() {
53
53
// step event handler:
54
54
CurieIMU.attachInterrupt (eventCallback);
55
55
CurieIMU.enableInterrupt (CURIE_IMU_STEP, true ); // turn on step detection
56
- CurieIMU.setIntEnabled (true ); // enable interrupts
57
56
58
57
Serial.println (" IMU initialisation complete, waiting for events..." );
59
58
}
Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ void setup() {
43
43
// Enable Double-Tap detection
44
44
CurieIMU.enableInterrupt (CURIE_IMU_DOUBLE_TAP, true );
45
45
46
- // Enable Interrupts Notifications
47
- CurieIMU.setIntEnabled (true );
48
-
49
46
Serial.println (" IMU initialisation complete, waiting for events..." );
50
47
}
51
48
You can’t perform that action at this time.
0 commit comments