Compiling a project

Hello,

I am trying to compile a github project https://github.com/Muny/DIY-JBC-T245-Station/tree/master/arduino_t245_controller and added what I think are the correct libraries as zip files after downloading them. I am having mega problems with compilation errors all over the place. Unfortunately the author of the code did not include these libraries. Any help would be very much appreciated. the error I am getting now is

arduino_t245_controller\arduino_t245_controller.ino: In function 'void setup()':
arduino_t245_controller:130:18: error: 'class MAX31856' has no member named 'writeRegister'; did you mean 'writeReg0'?
     temperature->writeRegister(REGISTER_CR0, CR0_INIT);
                  ^~~~~~~~~~~~~
                  writeReg0
arduino_t245_controller:130:32: error: 'REGISTER_CR0' was not declared in this scope
     temperature->writeRegister(REGISTER_CR0, CR0_INIT);
                                ^~~~~~~~~~~~

Probably the wrong library then

This one has the right function and defines

thanks for reply. This libraries got rid of the writeRegister not found error but the compiler is complaining about readThermocoupleVoltage missing. I searched everywhere for the right library but readThermocoupleVoltage is not in any MAX31856 library i managed to find.

Cheers

double readTemp()
{
    return 122.5438816 + 5.66934596 * temperature->readThermocoupleVoltage();
}

there is a pull request for the Adafruit library with this function

➜ Added function readThermocoupleVoltage for VMODE_G8 and VMODE_G32 modes by mpeaucelle · Pull Request #26 · adafruit/Adafruit_MAX31856 · GitHub

the code is not rocket science, pick a library and adapt your code to the library...