upm  0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
Public Member Functions | List of all members

API for the TCS3414CS Color Sensor. More...

Detailed Description

This module defines the TCS3414CS interface for the color sensor

tcs3414cs.jpg

Public Member Functions

synchronized void delete ()
 
 TCS3414CS ()
 
void readRGB (tcs3414sc_rgb_t rgb)
 
void clearInterrupt ()
 
String name ()
 

Constructor & Destructor Documentation

TCS3414CS ( )

Instantiates a TCS3414CS object

Parameters
busNumber of the used bus

Member Function Documentation

void clearInterrupt ( )

Clears interrupts.

String name ( )

Returns the name of the component

void readRGB ( tcs3414sc_rgb_t  rgb)

Gets the RGB value from the sensor.

Parameters
rgbColor values

The documentation for this class was generated from the following file: