Fork the MAX31855 library. Allows a fxn to be called to select and unselect the TC. Now using a shift register array we can multiplex a great number of these TC chips!
Fork of MAX31855 by
Diff: max31855.h
- Revision:
- 1:5eeee89cb281
- Parent:
- 0:656c522152d4
- Child:
- 2:b978f1503c27
--- 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();