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

Peter Kietzmann notifications at github.com
Mon Jun 1 09:36:18 CEST 2015


> + *
> + * @return                  0 on success
> + * @return                  -1 if initialization of I2C bus failed
> + * @return                  -2 if sensor test failed
> + * @return                  -3 if sensor configuration failed
> + */
> +int tcs37727_init(tcs37727_t *dev, i2c_t i2c, uint8_t address);
> +
> +/**
> + * @brief Read raw sensor's data.
> + *
> + * @param[in]  dev          device descriptor of sensor
> + * @param[out] rawred       raw Red ADC data
> + * @param[out] rawgreen     raw Green ADC data
> + * @param[out] rawblue      raw Blue ADC data
> + * @param[out] rawclear     raw Clear ADC data

I think red, green, blue, clear are written in lower case 

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


More information about the notifications mailing list