|
MetaWear C# SDK
1.2.0
C# API for MbientLab's sensor platform
|
Extension of the IAccelerometer interface providing finer control of the MMA8452Q accelerometer More...
Public Member Functions | |
| void | Configure (OutputDataRate odr=OutputDataRate._100Hz, DataRange range=DataRange._2g, float? highPassCutoff=null, Oversampling oversample=Oversampling.Normal) |
| Configure the snsor with settings specific to the MMA8452Q accelerometer More... | |
Public Member Functions inherited from MbientLab.MetaWear.Sensor.IAccelerometer | |
| void | Configure (float odr=100f, float range=2f) |
| General function to configure the accelerometer. The closest valid values will be selected based on the underlying accelerometer which may not equal the input values. More... | |
| void | Start () |
| Switch the accelerometer into active mode More... | |
| void | Stop () |
| Switch the accelerometer into standby mode More... | |
| Task | PullConfigAsync () |
| Pulls the current accelerometer output data rate and data range from the sensor More... | |
Properties | |
| IOrientationDataProducer | Orientation [get] |
| Async data producer for the orientation detection algorithm More... | |
Properties inherited from MbientLab.MetaWear.Sensor.IAccelerometer | |
| float | Odr [get] |
| Currently set output data rate More... | |
| float | Range [get] |
| Currently set data range More... | |
| IAsyncDataProducer | Acceleration [get] |
| Data producer representing the sensor's acceleration data More... | |
| IAsyncDataProducer | PackedAcceleration [get] |
| Variant data producer that packs 3 acceleration samples in to 1 ble packet. Only streaming is supported by this data producer More... | |
Extension of the IAccelerometer interface providing finer control of the MMA8452Q accelerometer
| void MbientLab.MetaWear.Sensor.IAccelerometerMma8452q.Configure | ( | OutputDataRate | odr = OutputDataRate._100Hz, |
| DataRange | range = DataRange._2g, |
||
| float? | highPassCutoff = null, |
||
| Oversampling | oversample = Oversampling.Normal |
||
| ) |
Configure the snsor with settings specific to the MMA8452Q accelerometer
| odr | Output data rate, defaults to 100Hz |
| range | Data range, defaults to +/-2g |
| highPassCutoff | Enables high pass filter with a cutoff frequency between [0.031, 16.0]Hz, defaults to disabled |
| oversample | New oversampling mode, defaults to Oversampling.Normal |
|
get |
Async data producer for the orientation detection algorithm
1.8.14