public static interface Bmi160Accelerometer.FlatDetectionConfigEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
Writes the new settings to the board
|
Bmi160Accelerometer.FlatDetectionConfigEditor |
setFlatTheta(float angle)
Sets the threshold defining a flat position
|
Bmi160Accelerometer.FlatDetectionConfigEditor |
setHoldTime(Bmi160Accelerometer.FlatHoldTime time)
Sets the delay for which the flat value must remain stable for a flat interrupt
|
Bmi160Accelerometer.FlatDetectionConfigEditor setHoldTime(Bmi160Accelerometer.FlatHoldTime time)
time
- Delay time for a stable valueBmi160Accelerometer.FlatDetectionConfigEditor setFlatTheta(float angle)
angle
- Threshold angle, between [0, 44.8] degreesvoid commit()