pyupm_tcs3414cs module

class pyupm_tcs3414cs.TCS3414CS(bus=0, addr=57)[source]

Bases: object

API for the TCS3414CS Color Sensor.

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

C++ includes: tcs3414cs.hpp

clearInterrupt()[source]

void clearInterrupt()

Clears interrupts.

name()[source]

std::string name()

Returns the name of the component

readRGB(rgb)[source]

void readRGB(tcs3414sc_rgb_t *rgb)

Gets the RGB value from the sensor.

rgb: Color values

class pyupm_tcs3414cs.tcs3414sc_rgb_t[source]

Bases: object

b
clr
g
r