public static interface Bmi160Accelerometer.TapConfigEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
Writes the changes to the board
|
Bmi160Accelerometer.TapConfigEditor |
setDoubleTapWindow(Bmi160Accelerometer.DoubleTapWindow window)
Sets the double tap window
|
Bmi160Accelerometer.TapConfigEditor |
setQuietTime(Bmi160Accelerometer.TapQuietTime time)
Sets the quiet time for double tap
|
Bmi160Accelerometer.TapConfigEditor |
setShockTime(Bmi160Accelerometer.TapShockTime time)
Sets the shock time
|
Bmi160Accelerometer.TapConfigEditor |
setThreshold(float threshold)
Sets the tap threshold
|
Bmi160Accelerometer.TapConfigEditor setQuietTime(Bmi160Accelerometer.TapQuietTime time)
time
- Time that must pass before a second tap can occurBmi160Accelerometer.TapConfigEditor setShockTime(Bmi160Accelerometer.TapShockTime time)
time
- Time to lock the data in the status registerBmi160Accelerometer.TapConfigEditor setDoubleTapWindow(Bmi160Accelerometer.DoubleTapWindow window)
window
- Length of time for a second shock to occur for a double tapBmi160Accelerometer.TapConfigEditor setThreshold(float threshold)
threshold
- Threshold the acceleration difference must exceed for a tap, in Gsvoid commit()