Class Functions
measuremV
measureTemp
Starts a temperature measurement.
Usage
Example
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
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.
Parameters
solutionmV
the mV of the calibration solution
Usage
Example
Related
- useDualPoint
- usingDualPoint
- calibrateProbeHigh
- setDualPointCalibration
- getCalibrateLowReference
- getCalibrateLowReading
Returns
none
Don't forget...
Dual point requires a high and low point. It isn't enabled until a call to useDualPoint.
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.
Parameters
solutionmV
the mV of the calibration solution
Usage
Example
Related
- useDualPoint
- usingDualPoint
- calibrateProbeLow
- setDualPointCalibration
- getCalibrateHighReference
- getCalibrateHighReading
Returns
none
Don't forget...
Dual point requires a high and low point. It isn't enabled until a call to useDualPoint.
setDualPointCalibration
Sets all the values, in mV, for dual point calibration and saves them in the devices's EEPROM.
Parameters
refLow
the reference low pointrefHigh
the reference high pointreadLow
the measured low pointreadHigh
the measured high point
Usage
Example
Related
Returns
none
getCalibrateOffset
useTemperatureCompensation
Configures the device to use temperature compensation.
Parameters
bool
true or false
Usage
Example
Related
Returns
none
usingTemperatureCompensation
setTemp
Sets the temperature used by the device without using the attached temperature sensor.
Parameters
float
tempC
Usage
Example
Related
Returns
none
useDualPoint
usingDualPoint
getCalibrateHighReading
getCalibrateHighReference
getCalibrateLowReading
getCalibrateLowReference
getVersion
setI2CAddress
reset
Resets all the stored calibration information.
Usage
Example
Returns
none