| Interface | Description |
|---|---|
| AMSColorSensor |
AMSColorSensor is an extension of ColorSensor that provides additional functionality
supported by a family of color sensor chips from AMS. |
| Class | Description |
|---|---|
| AMSColorSensor.Parameters |
Instances of Parameters contain data indicating how the
sensor is to be initialized.
|
| AMSColorSensorImpl |
AMSColorSensorImpl is used to support the Adafruit color sensor:
http://adafru.it/1334
https://www.adafruit.com/products/1334?&main_page=product_info&products_id=1334
https://github.com/adafruit/Adafruit_TCS34725
More generally, there is a family of color sensors from AMS which this could support
http://ams.com/eng/Support/Demoboards/Light-Sensors/(show)/145298
This implementation sits on top of I2cDeviceSynchSimple instead of I2cDevice.
|
| Enum | Description |
|---|---|
| AMSColorSensor.Config | |
| AMSColorSensor.Enable | |
| AMSColorSensor.Gain | |
| AMSColorSensor.LEDDrive | |
| AMSColorSensor.Pers | |
| AMSColorSensor.Register |
AMSColorSensor.Register provides symbolic names for interesting device registers |
| AMSColorSensor.Status | |
| AMSColorSensor.Wait |
Wait time is set 2.4 ms increments unless the WLONG bit is
asserted, in which case the wait times are 12× longer.
|