thermocouple problem with arduino

hello my friends
I use a thermocouple with a map arduino
the problem I receive Forever 0 (c=0)
help me
thank you in advance

i use this programme arduino :

#include <Adafruit_MAX31855.h>
int thermoDO = 2;
int thermoCS = 4;
int thermoCLK = 7;
Adafruit_MAX31855 thermocouple(thermoCLK, thermoCS, thermoDO);
void setup() {
Serial.begin(9600);
Serial.println(“MAX31855 test”);
delay(500);
}
void loop() {

Serial.print("Internal Temp = ");
Serial.println(thermocouple.readInternal());

double c = thermocouple.readCelsius();
if (isnan(c)) {
Serial.println(“Something does not work with the thermocouple!”);
} else {
Serial.print("C = ");
Serial.println(c);
}

delay(1000);
}

Is that the Adafruit example program?

Why have you not put your code in code tags as requested in the "How to use this forum" ?

...R

Do you have a thermocouple hooked up (and are sure its not open)?

Do you have the polarity correct on the thermocouple?

Do you have a scope, can you tell is SPI communications is working?

Jacob