public static interface Tcs34725ColorDetector.ConfigEditor
Modifier and Type | Method and Description |
---|---|
void |
commit()
Write the changes to the board
|
Tcs34725ColorDetector.ConfigEditor |
enableIlluminatorLed()
Enable the illuminating LED, by default is disabled
|
Tcs34725ColorDetector.ConfigEditor |
setGain(Tcs34725ColorDetector.Gain gain)
Sets the analog gain
|
Tcs34725ColorDetector.ConfigEditor |
setIntegrationTime(float time)
Set the integration time.
|
Tcs34725ColorDetector.ConfigEditor setIntegrationTime(float time)
time
- Between [2.4, 614.4] millisecondsTcs34725ColorDetector.ConfigEditor setGain(Tcs34725ColorDetector.Gain gain)
gain
- Gain scaleTcs34725ColorDetector.ConfigEditor enableIlluminatorLed()
void commit()