improved MAX31855 Library with errorchecking
Fork of MAX31855 by
Diff: max31855.h
- Revision:
- 4:064382cf8d8e
- Parent:
- 3:e2731f1e595b
--- a/max31855.h Thu Jan 07 09:24:49 2016 +0000 +++ b/max31855.h Thu Jan 07 09:47:13 2016 +0000 @@ -14,7 +14,7 @@ } THERMOCOUPLES; max31855(SPI& _spi, PinName _ncs1, PinName _ncs2); - int ready(); + bool ready(); float read_temp(THERMOCOUPLES thermo); void initialise(uint32_t interval);