UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

SI1132 Class

Module: common

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

Methods

SI1132

(
  • bus
)
Number

Instanciates a Si1132 object

Parameters:

  • bus Number

    number of used bus

Returns:

Number:

getVisibleRaw

() Number

Read the raw visible light value

Returns:

Number:

getVisibleLux

() Number

Read the lux value

Returns:

Number:

getModuleName

() String

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

Returns:

String:

name of module