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:
1:5eeee89cb281
Parent:
0:656c522152d4
--- a/max31855.h	Thu Aug 16 12:46:52 2012 +0000
+++ b/max31855.h	Tue Oct 23 10:51:21 2012 +0000
@@ -13,9 +13,10 @@
     max31855(SPI& _spi, PinName _ncs);
     void select();
     void deselect();
-    void initialise();
+    void initialise(int setType=0);
     
     int ready();
+    int faultCode;
     
     float chipTemp;
     float read_temp();