Good Morning,
I'm new to this forum and I hope to make this post in the right place :-) .
I'm building a 3d printer and I like the composition Arduino Mega 2560 + Ramps 1.4 + max6675 because I have an extruder with thermocouple thermistor instead ... and use firmware repetier .
In configuration.h line 502 I 've found :
/ / Uncomment the Following line for MAX6675 support.
/ / # define SUPPORT_MAX6675
I uncommented the line and the compilation of the sketch gives me the following error:
Extruder.cpp : In function ' void initExtruder () ' :
Extruder.cpp : 327 : error : ' struct Extruder ' has no member named ' SENSORTYPE '
refers to that part of Extruder.cpp :
# ifdef SUPPORT_MAX6675
if ( act- > SENSORTYPE == 101 ) {
WRITE ( SCK_PIN , 0);
SET_OUTPUT ( SCK_PIN ) ;
WRITE ( MOSI_PIN , 1);
SET_OUTPUT ( MOSI_PIN ) ;
WRITE ( MISO_PIN , 1);
SET_INPUT ( MISO_PIN ) ;
digitalWrite (act -> tempControl.sensorPin , 1);
pinMode (act -> tempControl.sensorPin , OUTPUT) ;
}
# endif
Can anyone tell me please what 's wrong ?
I'm not a great expert on C. .. something I can resolve this but its not :-( .
Thanks to those who can tell me something.
Bye .
I'm new to this forum and I hope to make this post in the right place :-) .
I'm building a 3d printer and I like the composition Arduino Mega 2560 + Ramps 1.4 + max6675 because I have an extruder with thermocouple thermistor instead ... and use firmware repetier .
In configuration.h line 502 I 've found :
/ / Uncomment the Following line for MAX6675 support.
/ / # define SUPPORT_MAX6675
I uncommented the line and the compilation of the sketch gives me the following error:
Extruder.cpp : In function ' void initExtruder () ' :
Extruder.cpp : 327 : error : ' struct Extruder ' has no member named ' SENSORTYPE '
refers to that part of Extruder.cpp :
# ifdef SUPPORT_MAX6675
if ( act- > SENSORTYPE == 101 ) {
WRITE ( SCK_PIN , 0);
SET_OUTPUT ( SCK_PIN ) ;
WRITE ( MOSI_PIN , 1);
SET_OUTPUT ( MOSI_PIN ) ;
WRITE ( MISO_PIN , 1);
SET_INPUT ( MISO_PIN ) ;
digitalWrite (act -> tempControl.sensorPin , 1);
pinMode (act -> tempControl.sensorPin , OUTPUT) ;
}
# endif
Can anyone tell me please what 's wrong ?
I'm not a great expert on C. .. something I can resolve this but its not :-( .
Thanks to those who can tell me something.
Bye .