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.

MS5611 Class

Module: ms5611

Methods

MS5611

(
  • i2cBus
  • address
)
Number

Parameters:

  • i2cBus Number

    undefined

  • address Number

    undefined

Returns:

Number:

getModuleName

() String

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

Returns:

String:

name of module

setOverSampling

(
  • osrMode
)

Parameters:

  • osrMode OsrMode

    undefined

getTemperatureCelsius

() Number

Returns:

Number:

getPressurePa

() Number

Returns:

Number:

Properties

ULTRA_LOW_POWER

Enum OsrMode

LOW_POWER

Enum OsrMode

STANDARD

Enum OsrMode

ULTRA_HIGH_RES

Enum OsrMode

HIGH_RES

Enum OsrMode