public static interface ProximityTsl2671.ConfigEditor extends ConfigEditorBase
| Modifier and Type | Method and Description |
|---|---|
ProximityTsl2671.ConfigEditor |
integrationTime(float time)
Set the integration time
|
ProximityTsl2671.ConfigEditor |
pulseCount(byte nPulses)
Set the pulse count.
|
ProximityTsl2671.ConfigEditor |
receiverDiode(ProximityTsl2671.ReceiverDiode diode)
Set the photodiode for responding to light
|
ProximityTsl2671.ConfigEditor |
transmitterDriveCurrent(ProximityTsl2671.TransmitterDriveCurrent current)
Set the led drive current.
|
commitProximityTsl2671.ConfigEditor integrationTime(float time)
time - Period of time, in milliseconds, the internal ADC converts the analog signal into digital counts. Minimum 2.72msProximityTsl2671.ConfigEditor pulseCount(byte nPulses)
nPulses - Number of pulses to use for detection, between [1, 255]ProximityTsl2671.ConfigEditor receiverDiode(ProximityTsl2671.ReceiverDiode diode)
diode - Photodiode to useProximityTsl2671.ConfigEditor transmitterDriveCurrent(ProximityTsl2671.TransmitterDriveCurrent current)
current - Current driving the sensor