public static interface Bmi160Accelerometer.OrientationConfigEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
writes the new settings to the board
|
Bmi160Accelerometer.OrientationConfigEditor |
setHysteresis(float hysteresis)
Sets the hysteresis offset for portrait/landscape detection
|
Bmi160Accelerometer.OrientationConfigEditor |
setMode(Bmi160Accelerometer.OrientationMode mode)
Sets the orientation calculation mode
|
Bmi160Accelerometer.OrientationConfigEditor setHysteresis(float hysteresis)
hysteresis
- New offset angle, in degreesBmi160Accelerometer.OrientationConfigEditor setMode(Bmi160Accelerometer.OrientationMode mode)
mode
- New calculation modevoid commit()