L3G4200D Arduino Unified Sensor Library
|
This contains advanced functionality for reading and writing to raw gyroscope registers. If you just want to read gyro data, you probably want Usage or Sensor instead. More...
Modules | |
CTRL1 | |
Values for REG_CTRL_1, which is used for bandwidth, data rate, and power selection. | |
CTRL2 | |
Values for REG_CTRL_2, which is used for configuring the high pass filter. | |
CTRL3 | |
Values for REG_CTRL_3, which is used for configuring the electrical characteristics of the pins on the chip. | |
CTRL4 | |
Values for REG_CTRL_4, which is used for setting the gyroscope range. | |
CTRL5 | |
Values for REG_CTRL_5, which is used for enabling different kinds of filtering. | |
Addresses | |
#define | REG_WHO_AM_I (0x0F) |
The address of the chip ID register. Should always read as 0xd3 . More... | |
#define | REG_CTRL_1 (0x20) |
The address of CTRL_REG1, which is used for bandwidth, data rate, and power selection. More... | |
#define | REG_CTRL_2 (0x21) |
The address of CTRL_REG2, which is used for configuring the high pass filter. More... | |
#define | REG_CTRL_3 (0x22) |
The address of CTRL_REG3, which is used for configuring the electrical characteristics of the pins on the chip. More... | |
#define | REG_CTRL_4 (0x23) |
The address of CTRL_REG4, which is used for setting the gyroscope range. More... | |
#define | REG_CTRL_5 (0x24) |
The address of CTRL_REG5, which is used for enabling different kinds of filtering. More... | |
#define | REG_OUT_X_L (0x28) |
The address of OUT_X_L, which contains the low byte of the X-axis angular data, as two's complement. | |
#define | REG_OUT_X_H (0x29) |
The address of OUT_X_L, which contains the high byte of the X-axis angular data, as two's complement. | |
#define | REG_OUT_Y_L (0x2a) |
The address of OUT_X_H, which contains the low byte of the Y-axis angular data, as two's complement. | |
#define | REG_OUT_Y_H (0x2b) |
The address of OUT_Y_L, which contains the high byte of the Y-axis angular data, as two's complement. | |
#define | REG_OUT_Z_L (0x2c) |
The address of OUT_X_L, which contains the low byte of the Z-axis angular data, as two's complement. | |
#define | REG_OUT_Z_H (0x2d) |
The address of OUT_X_L, which contains the high byte of the Z-axis angular data, as two's complement. | |
#define | L3G4200D_CHIP_ID (0xd3) |
The chip ID constant value of REG_WHO_AM_I: 0xd3 . More... | |
This contains advanced functionality for reading and writing to raw gyroscope registers. If you just want to read gyro data, you probably want Usage or Sensor instead.
#define REG_WHO_AM_I (0x0F) |
The address of the chip ID register. Should always read as 0xd3
.
#define REG_CTRL_1 (0x20) |
The address of CTRL_REG1, which is used for bandwidth, data rate, and power selection.
#define REG_CTRL_2 (0x21) |
The address of CTRL_REG2, which is used for configuring the high pass filter.
#define REG_CTRL_3 (0x22) |
The address of CTRL_REG3, which is used for configuring the electrical characteristics of the pins on the chip.
#define REG_CTRL_4 (0x23) |
The address of CTRL_REG4, which is used for setting the gyroscope range.
#define REG_CTRL_5 (0x24) |
The address of CTRL_REG5, which is used for enabling different kinds of filtering.
#define L3G4200D_CHIP_ID (0xd3) |
The chip ID constant value of REG_WHO_AM_I: 0xd3
.
This should be the only value ever read from REG_WHO_AM_I. If you get a different value, your wires may not be connected correctly.