T - Type of flat detection config editorpublic static interface AccelerometerBosch.FlatConfigEditor<T extends AccelerometerBosch.FlatConfigEditor> extends ConfigEditorBase
| Modifier and Type | Method and Description |
|---|---|
T |
flatTheta(float angle)
Set the threshold defining a flat position
|
T |
holdTime(float time)
Set the delay for which the flat value must remain stable for a flat interrupt.
|
commitT holdTime(float time)
time - Delay time for a stable valueT flatTheta(float angle)
angle - Threshold angle, between [0, 44.8] degrees