MetaWear C# SDK  1.2.0
C# API for MbientLab's sensor platform
Public Member Functions | List of all members
MbientLab.MetaWear.Sensor.AccelerometerBosch.ITapDataProducer Interface Reference

Ob-board algorithm that detects taps. Data is repesented as a Tap object. More...

Inheritance diagram for MbientLab.MetaWear.Sensor.AccelerometerBosch.ITapDataProducer:
MbientLab.MetaWear.IAsyncDataProducer MbientLab.MetaWear.IDataProducer

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< IRouteAddRouteAsync (Action< IRouteComponent > builder)
 Adds a data route to the producer More...
 

Detailed Description

Ob-board algorithm that detects taps. Data is repesented as a Tap object.

Member Function Documentation

◆ Configure()

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

Parameters
enableSingleSet to 'true' to enable single tap, defaults to 'false'
enableDoubleSet to 'true' to enable double tap, defaults to 'false'
thresholdThreshold that the acceleration difference must exceed for a tap, in g's
quietTime that must pass before a second tap can occur
shockTime to lock the data in the status register
windowLength of time for a second shock to occur for a double tap

The documentation for this interface was generated from the following file: