Library to interface with the MAX31855 Cold Junction Compensated Thermocouple-to-Digital Converter

Fork of MAX31855 by Joe Staton

The libary is from Joe Station. The conversion factor for the internal chip temperature is changed from 0.25 to 0.0625 to read out the correct chip temperature.

Revision:
2:88ffddeb1e1d
Parent:
1:5eeee89cb281
--- a/max31855.cpp	Tue Oct 23 10:51:21 2012 +0000
+++ b/max31855.cpp	Fri Mar 07 09:57:48 2014 +0000
@@ -31,7 +31,7 @@
         tempChipLow = spi.write(0);
         
         //Set the chip temperature    
-        chipTemp = (tempChipHigh<<4 | tempChipLow>>4)*0.25;
+        chipTemp = (tempChipHigh<<4 | tempChipLow>>4)*0.0625;
         
         //Set CS to stop transfer and restart conversion
         deselect();