public static interface Mma8452qAccelerometer.MovementData
Modifier and Type | Interface and Description |
---|---|
static class |
Mma8452qAccelerometer.MovementData.Polarity
Axis information for the detection callback functions
|
Modifier and Type | Method and Description |
---|---|
boolean |
crossedThreshold(Mma8452qAccelerometer.Axis axis)
Retrieves the threshold status
|
Mma8452qAccelerometer.MovementData.Polarity |
polarity(Mma8452qAccelerometer.Axis axis)
Returns the polarity the board is moving in on the specific axis
|
boolean crossedThreshold(Mma8452qAccelerometer.Axis axis)
axis
- Axis to checkMma8452qAccelerometer.MovementData.Polarity polarity(Mma8452qAccelerometer.Axis axis)
axis
- Axis to check