I bought max31855 chip and it is configured for J-type thermocouple since I will be using J-type.
Can I still use max31855 break board code from Adafruit? Im using the same code but I get nothing, no readings.
#include <SPI.h>
#include "Adafruit_MAX31855.h"
#define DO 3
#define CS 4
#define CLK 5
Adafruit_MAX31855 thermocouple(CLK, CS, DO);
void setup() {
Serial.begin(9600);
Serial.println("MAX31855 test");
// wait for MAX chip to stabilize
delay(500);
}
void loop() {
// basic readout test, just print the current temp
Serial.print("Internal Temp = ");
Serial.println(thermocouple.readInternal());
double c = thermocouple.readCelsius();
if (isnan(c)) {
Serial.println("Something wrong with thermocouple!");
} else {
Serial.print("C = ");
Serial.println(c);
}
//Serial.print("F = ");
//Serial.println(thermocouple.readFarenheit());
delay(1000);
}
Using this code. Is this one built for type-K only?
Hope Someone can help me.