public static interface Tsl2671Proximity.ConfigEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
Write the changes to the sensor
|
Tsl2671Proximity.ConfigEditor |
setIntegrationTime(float time)
Sets the integration time
|
Tsl2671Proximity.ConfigEditor |
setPulseCount(byte nPulses)
Sets the pulse count.
|
Tsl2671Proximity.ConfigEditor |
setReceiverDiode(Tsl2671Proximity.ReceiverDiode diode)
Sets the photodiode for responding to light
|
Tsl2671Proximity.ConfigEditor |
setTransmitterDriver(Tsl2671Proximity.TransmitterDrive driveCurrent)
Sets the led drive current.
|
Tsl2671Proximity.ConfigEditor setIntegrationTime(float time)
time
- Period of time, in milliseconds, the internal ADC converts the analog signal into digital counts. Minimum 2.72msTsl2671Proximity.ConfigEditor setPulseCount(byte nPulses)
nPulses
- Number of pulses to use for detection, between [1, 255]Tsl2671Proximity.ConfigEditor setReceiverDiode(Tsl2671Proximity.ReceiverDiode diode)
diode
- Photodiode to useTsl2671Proximity.ConfigEditor setTransmitterDriver(Tsl2671Proximity.TransmitterDrive driveCurrent)
driveCurrent
- Current driving the sensorvoid commit()