[riot-notifications] [RIOT] Driver for TCS3772 Color Light-to-Digital Converter (#3135)

Peter Kietzmann notifications at github.com
Tue Jun 16 11:47:42 CEST 2015


> + * @brief Device descriptor for TCS37727 sensors.
> + */
> +typedef struct {
> +    i2c_t i2c;              /**< I2C device the sensor is connected to */
> +    uint8_t addr;           /**< the sensor's slave address on the I2C bus */
> +    bool initialized;       /**< sensor status, true if sensor is initialized */
> +    int atime_us;           /**< atime value conveted to microseconds */
> +    int again;              /**< amount of gain */
> +    int ir;                 /**< IR component */
> +    int cr;                 /**< IR compensated channels red */
> +    int cg;                 /**< IR compensated channels green */
> +    int cb;                 /**< IR compensated channels blue */
> +    int cc;                 /**< IR compensated channels clear */
> +    int lux;                /**< Lux */
> +    int ct;                 /**< Color temperature */
> +} tcs37727_t;

Ok, do it! Maybe I just need to see this...

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3135/files#r32505662
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150616/aaddd140/attachment.html>


More information about the notifications mailing list