Reference   Language | Libraries | Comparison | Changes

CurieIMU

setGyroRate()

Description

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

Syntax

CurieIMU.setGyroRate(int rate)

Parameters

rate: the rate to be set
It can assume one of the following values:

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

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