public static interface Bmi160Accelerometer.AnyMotionConfigEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
Writes the settings to the board
|
Bmi160Accelerometer.AnyMotionConfigEditor |
setDuration(int duration)
Sets the duration
|
Bmi160Accelerometer.AnyMotionConfigEditor |
setThreshold(float threshold)
Sets the threshold that the slope data points must be above
|
Bmi160Accelerometer.AnyMotionConfigEditor setDuration(int duration)
duration
- Number of consecutive slope data points that are above the thresholdBmi160Accelerometer.AnyMotionConfigEditor setThreshold(float threshold)
threshold
- Any motion threshold, in Gsvoid commit()