TCS3414CS Class
- ID: tcs3414cs
- Name: I2C Color Sensor
- Other Names: Grove Color Sensor
- Category: color
- Manufacturer: seeed
- Link: http://www.seeedstudio.com/wiki/Grove_-_I2C_Color_Sensor
- Connection: i2c
This module defines the TCS3414CS interface for the color sensor
Item Index
Methods
Methods
TCS3414CS
(
Number
-
bus
-
addr
Instantiates a TCS3414CS object
Parameters:
-
bus
NumberNumber of the used bus
-
addr
NumberI2C address of the device
Returns:
Number:
readRGB
(
-
rgb
Gets the RGB value from the sensor.
Parameters:
-
rgb
Tcs3414sc_rgb_tColor values
clearInterrupt
()
Clears interrupts.
name
()
String
Returns the name of the component
Returns:
String: