MetaWear C# SDK
1.2.0
C# API for MbientLab's sensor platform
|
Digital proximity detector for short-distance detection by AMS More...
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... | |
Digital proximity detector for short-distance detection by AMS
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
diode | Photodiode responding to light, defaults to ReceiverDiode.Channel1 |
current | Led drive current, defaults to TransmitterDriveCurrent._25mA. For boards powered by the CR2032 battery, it is recommended to use 25mA or less |
integrationTime | Period of time the internal ADC converts the analog signal into digital counts, defaults to 2.72ms |
nPulses | Number of pulses, defaults to 1. Sensitivity grows by the square root of the number of pulses |
|
get |
Data producer representing measured adc values