upm
0.8.0
Sensor/Actuator repository for libmraa (v1.1.1)
|
API for Si1132 UV and Visible Light Sensor. More...
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 () |
const char * | getModuleName () |
SI1132 | ( | int | bus | ) |
Instanciates a Si1132 object
bus | number of used bus |
devAddr | address of used i2c device |
~SI1132 | ( | ) |
Si1132 object destructor, basicaly it close i2c connection.
uint16_t getVisibleRaw | ( | ) |
Read the raw visible light value
|
virtual |
|
inlinevirtual |
Returns name of module. This is the string in library name after libupm_
Implements IModuleStatus.