Reference   Language | Libraries | Comparison | Changes

Arduino_MKRTHERM : THERM class

readReferenceTemperature

Description

Measures the temperature of the cold junction - the connection to the shield - of the thermocouple and of the MAX chip to create a reference temperature, used to compensate the reading of the hot junction.

Syntax

THERM.readReferenceTemperature()

Parameters

None

Returns

The reference temperature value in degrees Celsius.

Example


Serial.print("Reference temperature ");
Serial.print(THERM.readReferenceTemperature());
Serial.println(" °C");

See Also

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.