ORP Measurement

# measureORP

Starts an ORP measurement. uFire_ORP::ORP and uFire_ORP::Eh are updated.

Usage

::: code

uFire_ORP::measureORP();
uFire_ORP.measureORP()
mv

:::

Example

::: code

#include <uFire_ORP.h>
uFire_ORP orp;

orp.measureORP()
from uFire_ORP import uFire_ORP
orp = uFire_ORP()

orp.measureORP()

:::

Related

Returns

the measured result in mV, or -1 on error

ALSO...

The class variable Eh, is also updated.


# setProbePotential

Saves the connected probe's potential in EEPROM so that Eh can be calculated. After setting this value, the class variable Eh is automatically updated with each call to measureORP.

Usage

::: code

uFire_ORP::setProbePotential(195);
uFire_ORP.setProbePotential(195)

:::

Example

::: code

#include <uFire_ORP.h>
uFire_ORP orp;

orp.setProbePotential(195)
from uFire_ORP import uFire_ORP
orp = uFire_ORP()

orp.setProbePotential(195)

:::

Related

Returns

none


# getProbePotential

Returns the saved probe potential from EEPROM.

Usage

::: code

uFire_ORP::getProbePotential();
uFire_ORP.getProbePotential()

:::

Example

::: code

#include <uFire_ORP.h>
uFire_ORP orp;

orp.getProbePotential()
from uFire_ORP import uFire_ORP
orp = uFire_ORP()

orp.getProbePotential()

:::

Related

Returns

the probe potential