public static interface Bmi160Accelerometer.NoMotionConfigEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
Writes the settings to the board
|
Bmi160Accelerometer.NoMotionConfigEditor |
setDuration(int duration)
Sets the duration
|
Bmi160Accelerometer.NoMotionConfigEditor |
setThreshold(float threshold)
Sets the tap threshold.
|
Bmi160Accelerometer.NoMotionConfigEditor setDuration(int duration)
duration
- Time, in milliseconds, for which no slope data points exceed the thresholdBmi160Accelerometer.NoMotionConfigEditor setThreshold(float threshold)
threshold
- Threshold, in Gs, for which no slope data points must exceedvoid commit()