Reference   Language | Libraries | Comparison | Changes

ArduinoAPDS9960 : APDS class

setGestureSensitivity()

Description

Sets APDS gesture sensor sensitivity.

Syntax

APDS.setGestureSensitivity(sensitivity)

Parameters

sensitivity - The desired gesture sensitivity a value between 1 and 100 is required.
Higher values makes the gesture recognition more sensible but less accurate (a wrong gesture may be detected). Lower values makes the gesture recognition more accurate but less sensible (some gestures may be missed). The default is 80.

Returns

None

Example


  APDS.setGestureSensitivity(90);

See Also



Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.