This example program utilizes the MAX31856 mbed library available from Maxim Integrated at the following link: https://os.mbed.com/teams/Maxim-Integrated/code/MAX31856/

Dependencies:   MAX31856 mbed

Fork of MAX31856_example_program by Central Applications - Mbed Code repo

Revision:
6:e1200ae7d6a3
Parent:
3:a99a4367c909
Child:
8:8723d0006097
--- a/main.cpp	Mon Jul 31 07:55:00 2017 +0000
+++ b/main.cpp	Mon Jul 31 18:10:24 2017 +0000
@@ -51,13 +51,7 @@
 
 // main() runs in its own thread in the OS
 int main() {
-//    testSPI.format(8,3);
     float temperature_TC, temperature_CJ;
-//    setThermocoupleType(CR1_TC_TYPE_K);
-//    setEmiFilterFreq(CR0_FILTER_OUT_60Hz);
-//    setNumSamplesAvg(CR1_AVG_TC_SAMPLES_1);
-//    setConversionMode(CR0_CONV_MODE_NORMALLY_ON);
-//    spi.format(8,3);
     while (true) {
         led1 = !led1;
         wait(0.2);