Reference   Language | Libraries | Comparison | Changes

CurieIMU

getDetectionDuration()

Description

Returns the value of the detection duration.

Syntax

CurieIMU.getDetectionDuration(int feature)

Parameter

feature: the requested feature. It can assume one of these values:

  • CURIE_IMU_TAP
  • CURIE_IMU_TAP_QUIET
  • CURIE_IMU_DOUBLE_TAP
  • CURIE_IMU_ZERO_MOTION

Returns

The detection duration of the chosen feature

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.