Reference   Language | Libraries | Comparison | Changes

CurieIMU

setAccelerometerRate()

Description

Defines the output data rate of the accelerometer. The data rate is also the sampling frequency and affects the bandwidth of the readings.

Syntax

CurieIMU.setAccelerometerRate(float rate)

Parameters

rate: the rate to be set in Hz.
Allowed values 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