xxx
Diff: LSM6DS33_GR1.h
- Revision:
- 7:704790280bbe
- Parent:
- 6:132a63741359
--- a/LSM6DS33_GR1.h Fri Jul 02 18:15:15 2021 +0000 +++ b/LSM6DS33_GR1.h Thu Sep 30 09:37:35 2021 +0000 @@ -95,9 +95,9 @@ enum gyro_odr { // ODR (Hz) --- Cutoff G_POWER_DOWN = 0x00, // 0 0 - G_ODR_13_BW_0 = 0x10, // 12.5 0.0081 low power - G_ODR_26_BW_2 = 0x20, // 26 2.07 low power - G_ODR_52_BW_16 = 0x30, // 52 16.32 low power + G_ODR_13 = 0x10, // 12.5 0.0081 low power + G_ODR_26 = 0x20, // 26 2.07 low power + G_ODR_52 = 0x30, // 52 16.32 low power G_ODR_104 = 0x40, // 104 G_ODR_208 = 0x50, // 208 G_ODR_416 = 0x60, // 416 @@ -257,6 +257,9 @@ /** calibration() -- Calculate the offset of the accel and the gyro */ void calibration( int16_t iter); + // + char readReg(char add_reg); + void writeReg(char add_reg,char data); private: /** xgAddress store the I2C address