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

Digital proximity detector for short-distance detection by AMS More...

Inheritance diagram for MbientLab.MetaWear.Sensor.IProximityTsl2671:
MbientLab.MetaWear.IModule

Public Member Functions

void Configure (ReceiverDiode diode=ReceiverDiode.Channel1, TransmitterDriveCurrent current=TransmitterDriveCurrent._25mA, float integrationTime=2.72f, byte nPulses=1)
 Configure the proximity detector More...
 

Properties

IForcedDataProducer Adc [get]
 Data producer representing measured adc values More...
 

Detailed Description

Digital proximity detector for short-distance detection by AMS

Member Function Documentation

◆ Configure()

void MbientLab.MetaWear.Sensor.IProximityTsl2671.Configure ( ReceiverDiode  diode = ReceiverDiode.Channel1,
TransmitterDriveCurrent  current = TransmitterDriveCurrent._25mA,
float  integrationTime = 2.72f,
byte  nPulses = 1 
)

Configure the proximity detector

Parameters
diodePhotodiode responding to light, defaults to ReceiverDiode.Channel1
currentLed drive current, defaults to TransmitterDriveCurrent._25mA.
For boards powered by the CR2032 battery, it is recommended to use 25mA or less
integrationTimePeriod of time the internal ADC converts the analog signal into digital counts, defaults to 2.72ms
nPulsesNumber of pulses, defaults to 1. Sensitivity grows by the square root of the number of pulses

Property Documentation

◆ Adc

IForcedDataProducer MbientLab.MetaWear.Sensor.IProximityTsl2671.Adc
get

Data producer representing measured adc values


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