Setting the second extruder port as default (Switching the 2 extruders)

From RigidWiki
Jump to: navigation, search


The first thing you'll need to do to get the second extruder's port working as if it was the first port is to edit the pins.h file in Marlin in the "RigidBot Arduino Mega pin assignment" section. Change the following:

#define E0_STEP_PIN        36 // 26
#define E0_DIR_PIN         34 // 28
#define E0_ENABLE_PIN      30 // 24

#define E1_STEP_PIN        26 //36
#define E1_DIR_PIN         28 //34
#define E1_ENABLE_PIN      24 //30
#define HEATER_0_PIN       9   // EXTRUDER 1
#define HEATER_1_PIN       12    // EXTRUDER 2 (FAN On Sprinter)
#define HEATER_2_PIN       -1
#define TEMP_0_PIN         14   // ANALOG NUMBERING
#define TEMP_1_PIN         13   // ANALOG NUMBERING
#define TEMP_2_PIN         -1   // ANALOG NUMBERING
#define FAN_PIN            8 //11 // IO pin. Buffer needed

To this:

#define E1_STEP_PIN        36 // 26
#define E1_DIR_PIN         34 // 28
#define E1_ENABLE_PIN      30 // 24

#define E0_STEP_PIN        26 //36
#define E0_DIR_PIN         28 //34
#define E0_ENABLE_PIN      24 //30
#define HEATER_1_PIN       9   // EXTRUDER 1
#define HEATER_0_PIN       12    // EXTRUDER 2 (FAN On Sprinter)
#define HEATER_2_PIN       -1
#define TEMP_1_PIN         14   // ANALOG NUMBERING
#define TEMP_0_PIN         13   // ANALOG NUMBERING
#define TEMP_2_PIN         -1   // ANALOG NUMBERING
#define FAN_PIN            11 // IO pin. Buffer needed

Verify, then upload the new setting.