public static interface Mma8452qAccelerometer.DetectionConfigEditor<T extends Mma8452qAccelerometer.DetectionConfigEditor>
Modifier and Type | Method and Description |
---|---|
void |
commit()
Write the new settings to the board
|
T |
setDuration(int duration)
Sets the duration for which a condition must be met to trigger a data event
|
T |
setThreshold(float threshold)
Sets the threshold of the motion
|
T setThreshold(float threshold)
threshold
- Threshold, in G'sT setDuration(int duration)
duration
- Duration for the condition to be metvoid commit()