0
$\begingroup$

I've got an SKR 1.3 and the thermistor input for extruder 2 has gone bad.

In firmware, I've attempted to change the TEMP_1_PIN to another in pins_BTT_SKR.h and I've also defined TEMP_1_PIN to another pin in pins_BTT_SKR_V1_3.h but regardless of which pin I choose, the printer ignores it and still defaults to the dead input (P0_25) I've made other changes in firmware to confirm that it is updating, but still - the second extruders temp input will not change.

Original code in pins_BTT_SKR.h

#ifndef TEMP_1_PIN
  #define TEMP_1_PIN       P0_25_A2   // A2 (T2) - (69) - TEMP_1_PIN
#endif

I've changed this to

#ifndef TEMP_1_PIN
  #define TEMP_1_PIN       P1_28  // A2 (T2) - (69) - TEMP_1_PIN
#endif

I've also commented out anything that referenced P1_28 and added a #define TEMP_1_PIN P1_28 in front of this and that didn't work either. I then moved that define to pins_BTT_SKR_V1_3.h and that still didn't work. It's still looking for a signal on P0_25. I've also tried other available pins. It won't change. I must be missing something somewhere...

$\endgroup$
  • $\begingroup$ I am not an expert, but there is a difference in style in the definition. It seems like it should be P1_28_A2 ? $\endgroup$ – Trish Jan 30 at 23:17
  • $\begingroup$ p1_28_a2 is what i thought as well but it fails to compile that way. I am assuming it has something to do with the problem, though. $\endgroup$ – Korner19 Jan 30 at 23:25
  • 1
    $\begingroup$ Here is a suggestion to try: add a #warning to show the value of TEMP_1_PIN, check it shows up when Marlin compiles into your target. Add/move the #warning to various files (e.g. just before end of pins.h) to see if/when it gets changed. If nothing dawns on you as to the problem, then show code snippets and compilation log here. $\endgroup$ – user19977 Feb 1 at 5:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.