Tested and works great with the Adafruit Thermocouple Breakout w/MAX31856
These sensors use SPI to communicate, 4 pins are required to
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, check license.txt for more information All text above must be included in any redistribution