MetaWear C# SDK
1.2.0
C# API for MbientLab's sensor platform
|
Ob-board algorithm that detects taps. Data is repesented as a Tap object. More...
Public Member Functions | |
void | Configure (bool enableSingle=false, bool enableDouble=false, float? threshold=null, TapQuietTime? quiet=null, TapShockTime? shock=null, DoubleTapWindow? window=null) |
Configure the tap detection More... | |
Public Member Functions inherited from MbientLab.MetaWear.IAsyncDataProducer | |
void | Start () |
Begin data collection More... | |
void | Stop () |
End data collection More... | |
Public Member Functions inherited from MbientLab.MetaWear.IDataProducer | |
Task< IRoute > | AddRouteAsync (Action< IRouteComponent > builder) |
Adds a data route to the producer More... | |
void MbientLab.MetaWear.Sensor.AccelerometerBosch.ITapDataProducer.Configure | ( | bool | enableSingle = false , |
bool | enableDouble = false , |
||
float? | threshold = null , |
||
TapQuietTime? | quiet = null , |
||
TapShockTime? | shock = null , |
||
DoubleTapWindow? | window = null |
||
) |
Configure the tap detection
enableSingle | Set to 'true' to enable single tap, defaults to 'false' |
enableDouble | Set to 'true' to enable double tap, defaults to 'false' |
threshold | Threshold that the acceleration difference must exceed for a tap, in g's |
quiet | Time that must pass before a second tap can occur |
shock | Time to lock the data in the status register |
window | Length of time for a second shock to occur for a double tap |