We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d838d4e commit e881b23Copy full SHA for e881b23
examples/InterruptFreeFallConfig/InterruptFreeFallConfig.ino
@@ -74,11 +74,7 @@ void setup() {
74
75
// //Now, write the patched together data
76
errorAccumulator += myIMU.writeRegister(LSM6DS3_ACC_GYRO_CTRL1_XL, dataToWrite);
77
-
78
- //Set the ODR bit
79
errorAccumulator += myIMU.readRegister(&dataToWrite, LSM6DS3_ACC_GYRO_CTRL4_C);
80
- dataToWrite &= ~((uint8_t)LSM6DS3_ACC_GYRO_BW_SCAL_ODR_ENABLED);
81
82
83
// Write 00h into WAKE_UP_DUR
84
errorAccumulator += myIMU.writeRegister( LSM6DS3_ACC_GYRO_WAKE_UP_DUR, 0x00 );
0 commit comments