You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/SparkFun_MCP9600.h
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -106,11 +106,11 @@ class MCP9600{
106
106
boolresetToDefaults(); //Resets all device parameters to their default values. Returns 1 if there was an error, zero otherwise.
107
107
108
108
//Sensor measurements
109
-
floatthermocoupleTemp(bool units = true);//Returns the thermocouple temperature. Set units to true for Celcius, or false for freedom units (Fahrenheit)
110
-
floatambientTemp(bool units = true);//Returns the ambient (IC die) temperature. Set units to true for Celcius, or false for freedom units (Fahrenheit)
111
-
floattempDelta(bool units = true);//Returns the difference in temperature between the thermocouple and ambient junctions. Set units to true for Celcius, or false for freedom units (Fahrenheit)
112
-
signedlongrawADC(); //Returns the raw contents of the raw ADC register
113
-
boolinputRangeExceeded(); //Returns true if the MCP9600's EMF range has been exceeded, and false otherwise.
109
+
floatgetThermocoupleTemp(bool units = true); //Returns the thermocouple temperature. Set units to true for Celcius, or false for freedom units (Fahrenheit)
110
+
floatgetAmbientTemp(bool units = true); //Returns the ambient (IC die) temperature. Set units to true for Celcius, or false for freedom units (Fahrenheit)
111
+
floatgetTempDelta(bool units = true); //Returns the difference in temperature between the thermocouple and ambient junctions. Set units to true for Celcius, or false for freedom units (Fahrenheit)
112
+
signedlonggetRawADC(); //Returns the raw contents of the raw ADC register
113
+
boolisInputRangeExceeded(); //Returns true if the MCP9600's EMF range has been exceeded, and false otherwise.
114
114
115
115
//Measurement configuration
116
116
boolsetAmbientResolution(Ambient_Resolution res); //Changes the resolution on the cold (ambient) junction, for either 0.0625 or 0.25 degree C resolution. Lower resolution reduces conversion time.
0 commit comments