Class Functions

measuremV

Starts a mV measurement.

Usage

uFire_ISE::measuremV();

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.measuremV();

Related

Returns

the measured result in mV, or -1 on error

measureTemp

Starts a temperature measurement.

Usage

uFire_ISE::measureTemp();

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.measureTemp();

Related

Returns

temperature in C

ALSO...

Class variables tempC and tempF are updated

WARNING

A value of -127 means the temperature sensor is not connected.

calibrateSingle

Calibrates the probe using a single point using a mV value.

Usage

uFire_ISE::calibrateSingle(200);

Example

#include <uFire_ISE.h>
uFire_ISE mV;

float offset = mV.calibrateSingle(200);

Related

getCalibrateOffset

Returns

calibration offset

calibrateProbeLow

Calibrates the dual-point values for the low reading, in mV, and saves them in the devices's EEPROM.

Dual point uses two measures for low and high points. It needs the measured value (reading value) and the known value (reference value). Calling calibrateProbeLow saves both the reading and reference value.

When there are high and low calibration points, the device will automatically use them to adjust readings. To disable dual-point adjustment, call reset to remove all calibration data.

Parameters

  • solutionmV the mV of the calibration solution

Usage

uFire_ISE::calibrateProbeLow(0);

Example

#include <uFire_ISE.h>
uFire_ISE mV;

float lowCalibration = mV.calibrateProbeLow(0);

Related

Returns

dual-point lpow calibration offset

calibrateProbeHigh

Calibrates the dual-point values for the high reading, in mV, and saves them in the devices's EEPROM.

Dual point uses two measures for low and high points. It needs the measured value (reading value) and the known value (reference value). Calling calibrateProbeHigh saves both the reading and reference value.

When there are high and low calibration points, the device will automatically use them to adjust readings. To disable dual-point adjustment, call reset to remove all calibration data.

Parameters

  • solutionmV the mV of the calibration solution

Usage

uFire_ISE::calibrateProbeHigh(600);

Example

#include <uFire_ISE.h>
uFire_ISE mV;

float highCalibration = mV.calibrateProbeHigh(600);

Related

Returns

dual-point high calibration offset

setDualPointCalibration

Sets all the values, in mV, for dual point calibration and saves them in the devices's EEPROM.

Parameters

  • refLow the reference low point
  • refHigh the reference high point
  • readLow the measured low point
  • readHigh the measured high point

Usage

uFire_ISE::setDualPointCalibration(0, 200, 3, 230);

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.setDualPointCalibration(0, 200, 3, 230);

Related

Returns

none

getCalibrateOffset

Returns the single-point offset from the device.

Usage

uFire_ISE::getCalibrateOffset();

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.getCalibrateOffset();

Related

Returns

the offset in mV

TIP

If there is no calibration information NaN is returned. You can check for a NaN by #include <math.h> and using isnan(). It returns true if the return result is NaN.

setTemp

Sets the temperature used by the device without using the attached temperature sensor.

Parameters

  • float tempC

Usage

uFire_ISE::setTemp(tempC);

Example

#include <uFire_ISE.h>
uFire_ISE mv;

mv.setTemp(20.2);

Returns

none

getCalibrateHighReading

Returns the dual-point calibration high-reading value.

Usage

uFire_ISE::getCalibrateHighReading();

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.getCalibrateHighReading();

Related

Returns

the dual-point calibration high-reading value

TIP

If there is no calibration information NaN is returned. You can check for a NaN by #include <math.h> and using isnan(). It returns true if the return result is NaN.

getCalibrateHighReference

Returns the dual-point calibration high-reference value.

Usage

uFire_ISE::getCalibrateHighReference();

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.getCalibrateHighReference();

Related

Returns

the dual-point calibration high-reference value

TIP

If there is no calibration information NaN is returned. You can check for a NaN by #include <math.h> and using isnan(). It returns true if the return result is NaN.

getCalibrateLowReading

Returns the dual-point calibration low-reading value.

Usage

uFire_ISE::getCalibrateLowReading();

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.getCalibrateLowReading();

Related

Returns

the dual-point calibration low-reading value

TIP

If there is no calibration information NaN is returned. You can check for a NaN by #include <math.h> and using isnan(). It returns true if the return result is NaN.

getCalibrateLowReference

Returns the dual-point calibration low-reference value.

Usage

uFire_ISE::getCalibrateLowReference();

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.getCalibrateLowReference();

Related

Returns

the dual-point calibration low-reference value

TIP

If there is no calibration information NaN is returned. You can check for a NaN by #include <math.h> and using isnan(). It returns true if the return result is NaN.

getVersion

Returns the firmware version of the device.

Usage

uFire_ISE::getVersion();

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.getVersion();

Returns

version of firmware

setI2CAddress

Changes the default I2C address.

Usage

uFire_ISE::setI2CAddress(59);

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.setI2CAddress(59);

Returns

none

reset

Resets all the stored calibration information.

Usage

uFire_ISE::reset();

Example

#include <uFire_ISE.h>
uFire_ISE mV;

mV.reset();

Returns

none