Class Members
public float tempC
Temperature in C
public float tempF
Temperature in F
public long mV
Milli-volts from the probe
Class Functions
float measuremV()
Starts a mV measurement.
ISE_Probe::measuremV();
ISE.measuremV()
mv
Returns
the measured result in mV, -1 on error
float measureTemp()
Starts a temperature measurement.
ISE_Probe::measureTemp();
ISE.measureTemp()
temp
tempC and tempF are updated
A value of -127 means the temperature sensor is not connected.
Returns
temperature in C
void calibrateSingle(float solutionmV)
Calibrates the probe using a single point using a mV value.
ISE_Probe::calibrateSingle(200);
ISE.calibrateSingle(200)
cal 200
The result will be saved in the device's EEPROM and used automatically. It takes 4.5 seconds to complete.
void calibrateProbeLow(float solutionmV)
Calibrates the dual-point values for the low reading, in mV, and saves them in the devices's EEPROM. It takes 4.5 seconds to complete.
ISE_Probe::calibrateProbeLow(0);
ISE.calibrateProbeLow(0)
low 0
Parameters
solutionmV
the mV of the calibration solution
void calibrateProbeHigh(float solutionmV)
Calibrates the dual-point values for the high reading, in mV, and saves them in the devices's EEPROM. It takes 4.5 seconds to complete.
ISE_Probe::calibrateProbeHigh(200);
ISE.calibrateProbeHigh(200)
high 200
Parameters
solutionmV
the mV of the calibration solution
void setDualPointCalibration(float refLow,float refHigh,float readLow,float readHigh)
Sets all the values, in mV, for dual point calibration and saves them in the devices's EEPROM.
ISE_Probe::setDualPointCalibration(0, 200, 3, 230);
ISE.setDualPointCalibration(0, 200, 3, 230)
Parameters
refLow
the reference low pointrefHigh
the reference high pointreadLow
the measured low pointreadHigh
the measured high point
float getCalibrateOffset()
Returns the single-point offset from the device.
float offset = ISE_Probe::getCalibrateOffset();
offset = ISE.getCalibrateOffset()
cal
Returns
the probe's offset
void useTemperatureCompensation(bool b)
Configures the device to use temperature compensation.
ISE_Probe::useTemperatureCompensation(true);
ISE.useTemperatureCompensation(True)
tc 1
Parameters
b
true for false
bool usingTemperatureCompensation()
Determines if temperature compensation is being used.
bool usingTemp = ISE_Probe::usingTemperatureCompensation();
usingTemp = ISE.usingTemperatureCompensation()
tc
Returns
true if using compensation, false otherwise
void useAveraging(bool b)
Configures device to use averaging.
ISE_Probe::useAveraging(true);
ISE.useAveraging(True);
Parameters
b
true or false
void useDualPoint(bool b)
Configures device to use dual-point calibration.
ISE_Probe::useDualPoint(true);
ISE.useDualPoint(True);
```shell
dp 1
Parameters
b
true or false
bool usingDualPoint()
Determines if dual point calibration is being used.
bool usingTemp = ISE_Probe::usingDualPoint();
usingTemp = ISE.usingDualPoint()
dp
Returns
true if using compensation, false otherwise
float getCalibrateHighReference()
Returns the dual-point calibration high reference value.
float calHigh = ISE_Probe::getCalibrateHighReference();
calHigh = ISE.getCalibrateHighReference()
high
Returns
the dual-point calibration high reference value
float getCalibrateLowReference()
Returns the dual-point calibration low reference value.
float calLow = ISE_Probe::getCalibrateLowReference();
calLow = ISE.getCalibrateLowReference()
low
Returns
the dual-point calibration low reference value
uint8_t getVersion()
Returns the firmware version of the device.
uint8_t version = ISE_Probe::getVersion();
version = ISE.getVersion()
version
Returns
version of firmware
void reset()
Resets all the stored calibration information.