MAX31855
This demo interfaces a K-Type Thermocouple (MAX31855 breakout board) with a mbed (NXP LPC1768). A LCD (uLCD-144-G2) is used to display the temperature. The mbed uses the SPI interface to communicate with the thermocouple board. Below is a simple program
Hello World
Import programThermo_MAX31855
Hello world for MAX31855 thermocouple
Library
Import libraryMAX31855
Fork of MAX31855 lib
Pinout
Datasheet
http://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX31855.html/tb_tab0Notes
If your temperature reading is inverted, you might have your K-Type wire plugged in the opposite way.