Module f3::l3gd20 [] [src]

L3GD20 - Gyroscope

This sensor is connected to the SPI bus via these pins:

  • Master Input (MISO) pin - PA6
  • Master Output (MOSI) pin - PA7
  • Serial Clock (SCK) pin - PA5
  • CS pin - PE3

Gyroscope

  • Sample rate: 380 Hz
  • Input range: [-250 dps, +250 dps]
  • Gain: 8.75e-3 dps / LSB
  • Output range: 16 bits (i16)

Functions

angular_rate

Reads the angular rate

init

Initializes the SPI peripheral that's connected to the L3GD20