Reference   Language | Libraries | Comparison | Changes

CurieIMU

interrupts()

Description

Enables interrupt for the selected feature.

Syntax

CurieIMU.interrupts(int feature)

Parameters

feature: the feature for which the interrupt has to be enabled. It can assume one of these values:

  • CURIE_IMU_FREEFALL
  • CURIE_IMU_SHOCK
  • CURIE_IMU_MOTION
  • CURIE_IMU_ZERO_MOTION
  • CURIE_IMU_STEP
  • CURIE_IMU_TAP
  • CURIE_IMU_TAP_SHOCK
  • CURIE_IMU_TAP_QUIET
  • CURIE_IMU_DOUBLE_TAP

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.

Share