Reference   Language | Libraries | Comparison | Changes

CurieIMU

getAccelerometerRate()

Description

Return the accelerometer data rate, that is the frequency - expressed in Hz - at which the accelerometer is read.

Syntax

CurieIMU.getAccelerometerRate()

Returns

The accelerometer rate in Hz.
Values returned are:

  • 12.5
  • 25
  • 50
  • 100
  • 200
  • 400
  • 800
  • 1600

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