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