#include "max6675.h" #include int thermoDO = 1; int thermoCS = 3; int thermoCLK = 2; MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO); SoftwareSerial mySerial(5,4); void setup() { pinMode(thermoCS, OUTPUT); mySerial.begin(9600); mySerial.println("MAX6675 test"); delay(500); } void loop() { digitalWrite(thermoCS,LOW); mySerial.print("C = "); mySerial.println(thermocouple.readCelsius()); delay(1000); }