public static interface Mma8452qAccelerometer.SamplingConfigEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
Write the new settings to the board
|
Mma8452qAccelerometer.SamplingConfigEditor |
enableHighPassFilter(byte cutoff)
Enables high-pass filtering on the accelerometer axis data and sets the high pass filter cutoff frequency.
|
Mma8452qAccelerometer.SamplingConfigEditor |
setFullScaleRange(Mma8452qAccelerometer.FullScaleRange range)
Sets the max range of the data
|
Mma8452qAccelerometer.SamplingConfigEditor setFullScaleRange(Mma8452qAccelerometer.FullScaleRange range)
range
- Data's max rangeMma8452qAccelerometer.SamplingConfigEditor enableHighPassFilter(byte cutoff)
cutoff
- Cutoff frequency setting between [0, 3] where 0 = highest cutoff freq and 3 = lowest cutoff freqvoid commit()