upm  0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
Public Member Functions | List of all members

API for the Grove O2 Oxygen Gas Sensor. More...

Detailed Description

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

groveo2.jpg

Public Member Functions

synchronized void delete ()
 
 GroveO2 (int pin)
 
float voltageValue ()
 

Constructor & Destructor Documentation

GroveO2 ( int  pin)

Grove O2 Oxygen Gas sensor constructor

Parameters
pinAnalog pin to use

Member Function Documentation

float voltageValue ( )

Measures O2 from the sensor

Returns
Oxygen concentration as voltage

The documentation for this class was generated from the following file: