upm  1.3.0
Sensor/Actuator repository for libmraa (v1.7.0)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions
SI1132 Class Reference

API for Si1132 UV and Visible Light Sensor. More...

Detailed Description

The Silicon Labs Si1132 is a low-power, ultraviolet (UV) index, and ambient light sensor with I2C digital interface and programmable-event interrupt output.

Public Member Functions

 SI1132 (int bus)
 ~SI1132 ()
uint16_t getVisibleRaw ()
double getVisibleLux ()
virtual const char * getModuleName ()

Constructor & Destructor Documentation

SI1132 ( int  bus)

Instanciates a Si1132 object

busnumber of used bus
~SI1132 ( )

Si1132 object destructor, basicaly it close i2c connection.

Member Function Documentation

uint16_t getVisibleRaw ( )

Read the raw visible light value

Here is the caller graph for this function:

double getVisibleLux ( )

Read the lux value

Implements ILightSensor.

Here is the call graph for this function:

virtual const char* getModuleName ( )

Returns name of module. This is the string in library name after libupm_

name of module

Implements IModuleStatus.

Inheritance diagram for SI1132:
Inheritance graph
Collaboration diagram for SI1132:
Collaboration graph

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