MAX31855 Cold-Junction Compensated Thermocouple-to-Digital Converter

Revision:
1:aa96d283eead
Parent:
0:cd9dd4f2c484
--- a/MAX31855.h	Tue Sep 09 08:17:42 2014 +0000
+++ b/MAX31855.h	Wed Jul 29 12:28:35 2015 +0000
@@ -33,6 +33,12 @@
     */
     MAX31855(PinName mosi, PinName miso, PinName sck, PinName ncs);
     
+    /** Create MAX31855 instance connected to spi & ncs
+    * @param SPI bus instance (MAX31855 is only read device)
+    * @param ncs pin to connect at CS input
+    */
+    MAX31855(SPI& spi, PinName ncs);
+    
     /**Get Thermocouple temperature
     * @returns temperature [°C]
     */