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.

O2 Class

Module: o2

The Grove O2 Oxygen Gas sensor measures the oxygen concentration in the air
o2.jpg

Item Index

Methods

Methods

O2

(
  • pin
)
Number

Grove O2 Oxygen Gas sensor constructor

Parameters:

  • pin Number

    Analog pin to use

Returns:

Number:

voltageValue

() Number

Measures O2 from the sensor

Returns:

Number:

Oxygen concentration as voltage