Skip to content

Commit c21b743

Browse files
committed
2 parents 71fd0c4 + d046f50 commit c21b743

File tree

3 files changed

+22
-20
lines changed

3 files changed

+22
-20
lines changed

examples/InterruptLight/InterruptLight.ino

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
APDS9960 - Light/Color Sensor, Interrupt
33
44
This example reads the light (C) and color (RGB) data from the on-board APDS9960
5-
sensor of the Nano 33 BLE Sense and prints the proximity value to the Serial Monitor
6-
then if the measure its outside the interrupt thresholds it will trigger an interrupt.
5+
sensor of the Nano 33 BLE Sense and prints the proximity value to the Serial Monitor.
6+
If the measure is outside the interrupt thresholds it will trigger an interrupt.
7+
78
89
The circuit:
910
- Arduino Nano 33 BLE Sense
@@ -66,4 +67,4 @@ void loop() {
6667

6768
void assert_flag() {
6869
interrupt_flag = 1;
69-
}
70+
}

examples/InterruptProximity/InterruptProximity.ino

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
APDS9960 - Proximity Sensor, Interrupt
33
44
This example reads proximity data from the on-board APDS9960 sensor of the
5-
Nano 33 BLE Sense and prints the proximity value to the Serial Monitor then if
6-
the measure its outside the interrupt thresholds it will trigger an interrupt.
5+
Nano 33 BLE Sense and prints the proximity value to the Serial Monitor. If
6+
the measure is outside the interrupt thresholds it will trigger an interrupt.
7+
78
89
The circuit:
910
- Arduino Nano 33 BLE Sense
@@ -64,4 +65,4 @@ void loop() {
6465

6566
void assert_flag() {
6667
interrupt_flag = 1;
67-
}
68+
}

keywords.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ setGestureSensitivity KEYWORD2
2525
setInterruptPin KEYWORD2
2626
setLEDBoost KEYWORD2
2727

28-
setInterruptPin KEYWORD2
29-
enableProximityInterrupt KEYWORD2
30-
disableProximityInterrupt KEYWORD2
31-
proximityInterrupt KEYWORD2
32-
clearProximityInterrupt KEYWORD2
33-
setProximityLowThreshold KEYWORD2
34-
setProximityHighThreshold KEYWORD2
35-
36-
enableLightInterrupt KEYWORD2
37-
disableLightInterrupt KEYWORD2
38-
lightInterrupt KEYWORD2
39-
clearLightInterrupt KEYWORD2
40-
setLightLowThreshold KEYWORD2
41-
setLightHighThreshold KEYWORD2
28+
setInterruptPin KEYWORD2
29+
enableProximityInterrupt KEYWORD2
30+
disableProximityInterrupt KEYWORD2
31+
proximityInterrupt KEYWORD2
32+
clearProximityInterrupt KEYWORD2
33+
setProximityLowThreshold KEYWORD2
34+
setProximityHighThreshold KEYWORD2
35+
36+
enableLightInterrupt KEYWORD2
37+
disableLightInterrupt KEYWORD2
38+
lightInterrupt KEYWORD2
39+
clearLightInterrupt KEYWORD2
40+
setLightLowThreshold KEYWORD2
41+
setLightHighThreshold KEYWORD2
4242

4343
###########################################
4444
# Constants

0 commit comments

Comments
 (0)