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.

MAX44009 Class

Module: max44009

The Maxim Integrated MAX44009 is Industry's Lowest-Power Ambient Light Sensor with ADC.

Methods

MAX44009

(
  • bus
  • devAddr
)
Number

Instanciates a MAX44009 object

Parameters:

  • bus Number

    number of used bus

  • devAddr Number

    address of used i2c device

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