18 #ifndef _ADAFRUIT_ICM20649_H 19 #define _ADAFRUIT_ICM20649_H 23 #define ICM20649_I2CADDR_DEFAULT 0x68 27 ICM20649_ACCEL_RANGE_4_G,
28 ICM20649_ACCEL_RANGE_8_G,
29 ICM20649_ACCEL_RANGE_16_G,
30 ICM20649_ACCEL_RANGE_30_G,
35 ICM20649_GYRO_RANGE_500_DPS,
36 ICM20649_GYRO_RANGE_1000_DPS,
37 ICM20649_GYRO_RANGE_2000_DPS,
38 ICM20649_GYRO_RANGE_4000_DPS,
50 TwoWire *wire = &Wire, int32_t sensor_id = 0);
59 void scaleValues(
void);
Adafruit_ICM20649()
Instantiates a new ICM20649 class!
Definition: Adafruit_ICM20649.cpp:12
icm20649_accel_range_t getAccelRange(void)
Get the accelerometer's measurement range.
Definition: Adafruit_ICM20649.cpp:83
icm20649_accel_range_t
Definition: Adafruit_ICM20649.h:26
void setGyroRange(icm20649_gyro_range_t new_gyro_range)
Sets the gyro's measurement range.
Definition: Adafruit_ICM20649.cpp:116
Class that stores state and functions for interacting with the ST ICM20X 6-DoF Accelerometer and Gyro...
Definition: Adafruit_ICM20X.h:168
Class that stores state and functions for interacting with the ST ICM20649 6-DoF Accelerometer and Gy...
Definition: Adafruit_ICM20649.h:45
icm20649_gyro_range_t
Definition: Adafruit_ICM20649.h:34
void setAccelRange(icm20649_accel_range_t new_accel_range)
Sets the accelerometer's measurement range.
Definition: Adafruit_ICM20649.cpp:95
icm20649_gyro_range_t getGyroRange(void)
Get the gyro's measurement range.
Definition: Adafruit_ICM20649.cpp:104
#define ICM20649_I2CADDR_DEFAULT
ICM20X default i2c address.
Definition: Adafruit_ICM20649.h:23
bool begin_I2C(uint8_t i2c_addr=ICM20649_I2CADDR_DEFAULT, TwoWire *wire=&Wire, int32_t sensor_id=0)
Sets up the hardware and initializes I2C.
Definition: Adafruit_ICM20649.cpp:26