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