Error Message max6675 k
master_gsm1 wrote 03/24/2019 at 18:20 • -1 pointHi, I'm trying to make a simple thermostat with visuino, but it gives me an error code, I tried more variants but they get the same error! can someone help me? I attach the error code! Thank you!
Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from C:\Users\Toshiba\Documents\Visuino\Generated\Generated.ino:16:0:
C:\Users\Toshiba\Documents\Arduino\libraries\Mitov/Mitov_Maxim_Thermocouple.h: In instantiation of 'void Mitov::ThermocoupleMAX6675<T_SPI, C_SPI, T_CS_IMPLEMENTATION, T_NON_CONNECTED_IMPLEMENTATION>::ReadSensor(bool) [with T_SPI = Mitov::ArduinoSPI<(* & SPI)>; T_SPI& C_SPI = (* & BoardDeclarations::BoardSPI0); T_CS_IMPLEMENTATION = Mitov::DigitalPin_DirectBoardPinImplementation<21u>; T_NON_CONNECTED_IMPLEMENTATION = Mitov::NotConnectedPinNullImplementation]':
C:\Users\Toshiba\Documents\Arduino\libraries\Mitov/Mitov_Maxim_Thermocouple.h:195:58: required from 'void Mitov::ThermocoupleMAX6675<T_SPI, C_SPI, T_CS_IMPLEMENTATION, T_NON_CONNECTED_IMPLEMENTATION>::SystemLoopBegin(long unsigned int) [with T_SPI = Mitov::ArduinoSPI<(* & SPI)>; T_SPI& C_SPI = (* & BoardDeclarations::BoardSPI0); T_CS_IMPLEMENTATION = Mitov::DigitalPin_DirectBoardPinImplementation<21u>; T_NON_CONNECTED_IMPLEMENTATION = Mitov::NotConnectedPinNullImplementation]'
C:\Users\Toshiba\Documents\Visuino\Generated\Generated.ino:77:70: required from here
C:\Users\Toshiba\Documents\Arduino\libraries\Mitov/Mitov_Maxim_Thermocouple.h:153:46: error: 'SetChipSelect' is not a member of 'Mitov::DigitalPin_DirectBoardPinImplementation<21u>'
T_CS_IMPLEMENTATION::SetChipSelect( false );
^
C:\Users\Toshiba\Documents\Arduino\libraries\Mitov/Mitov_Maxim_Thermocouple.h:162:45: error: 'SetChipSelect' is not a member of 'Mitov::DigitalPin_DirectBoardPinImplementation<21u>'
T_CS_IMPLEMENTATION::SetChipSelect( true );
^
exit status 1
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.