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

Johann Fischer notifications at github.com
Mon Jun 1 10:01:51 CEST 2015


> +#define TCS37727_CONTROL_AGAIN_1       0x00 /* 1 × gain RGBC Gain Value */
> +#define TCS37727_CONTROL_AGAIN_4       0x01 /* 4 × gain RGBC Gain Value */
> +#define TCS37727_CONTROL_AGAIN_16      0x02 /* 16 × gain RGBC Gain Value */
> +#define TCS37727_CONTROL_AGAIN_60      0x03 /* 60 × gain RGBC Gain Value */
> +
> +/**
> + * @brief  Device ID
> + */
> +#define TCS37727_DID_VALUE         0x49
> +
> +int tcs37727_test(tcs37727_t *dev)
> +{
> +    char id;
> +
> +    i2c_acquire(dev->i2c);
> +

Ok, it was once planned differently, I will change it to static.

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


More information about the notifications mailing list