Skip to content

Commit e64b627

Browse files
committed
fixed example
1 parent 7946e7d commit e64b627

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/GestureSensor/GestureSensor.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ void setup() {
2626
Serial.println("Error initializing APDS9960 sensor!");
2727
}
2828

29-
// for setSensitivity(..) a value between 1 and 100 is required.
29+
// for setGestureSensitivity(..) a value between 1 and 100 is required.
3030
// Higher values makes the gesture recognition more sensible but less accurate
3131
// (a wrong gesture may be detected). Lower values makes the gesture recognition
3232
// more accurate but less sensible (some gestures may be missed).
3333
// Default is 80
34-
//APDS.setSensitivity(80);
34+
//APDS.setGestureSensitivity(80);
3535

3636
Serial.println("Detecting gestures ...");
3737
}

0 commit comments

Comments
 (0)