upm  0.1.8
Sensor/Actuator repository for libmraa (v0.4.5)
 All Data Structures Files Functions Variables Macros Pages
Public Member Functions
TCS3414CS Class Reference

C++ API for TCS3414CS chip (Color sensor) More...

Detailed Description

This file defines the TCS3414CS C++ interface for libtcs3414cs

Public Member Functions

 TCS3414CS ()
 
 ~TCS3414CS ()
 
void readRGB (tcs3414sc_rgb_t *rgb)
 
void clearInterrupt ()
 
std::string name ()
 

Constructor & Destructor Documentation

TCS3414CS ( )

Instanciates a TCS3414CS object

Parameters
busnumber of used bus
~TCS3414CS ( )

TCS3414CS object destructor, basicaly it close i2c connection.

Member Function Documentation

void readRGB ( tcs3414sc_rgb_t rgb)

Get the RGB value from sensor.

Parameters
rgbcolor values
void clearInterrupt ( )

Clear interrupts.

std::string name ( )
inline

Return name of the component


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