// Note that on the Due pin A0 on the board is channel 2 on the ARM chip
// Note that on the Due pin A0 on the board is channel 2 on the ARM chip
#define HEATER_BED_PIN 69 // PA0
#define ORIG_HEATER_BED_PIN 69 // PA0
#define HEATER_0_PIN 68 // PA1
#define ORIG_HEATER_0_PIN 68 // PA1
/*
/*
#define HEATER_1_PIN 8 // PC22 on piggy
#define ORIG_HEATER_1_PIN 8 // PC22 on piggy
#define HEATER_2_PIN 9 // PC21 on piggy
#define ORIG_HEATER_2_PIN 9 // PC21 on piggy
#define HEATER_3_PIN 97 // PC20 on piggy
#define ORIG_HEATER_3_PIN 97 // PC20 on piggy
*/
*/
#define TEMP_BED_PIN 0 // PA16
#define ORIG_TEMP_BED_PIN 0 // PA16
#define TEMP_0_PIN 1 // PA24, analog pin
#define ORIG_TEMP_0_PIN 1 // PA24, analog pin
/*
/*
#define TEMP_1_PIN 5 // PA23 analog pin on piggy
#define ORIG_TEMP_1_PIN 5 // PA23 analog pin on piggy
#define TEMP_2_PIN 4 // PA22, analog pin on piggy
#define ORIG_TEMP_2_PIN 4 // PA22, analog pin on piggy
#define TEMP_3_PIN 3 // PA6, analog on piggy
#define ORIG_TEMP_3_PIN 3 // PA6, analog on piggy
*/
*/
#define LED_RED_PIN 40 // PC8
#define LED_RED_PIN 40 // PC8
...
@@ -2695,13 +2695,13 @@
...
@@ -2695,13 +2695,13 @@
#define PS_ON_PIN -1
#define PS_ON_PIN -1
#define KILL_PIN -1
#define KILL_PIN -1
#define HEATER_0_PIN 13 // (extruder)
#define ORIG_HEATER_0_PIN 13 // (extruder)
#define HEATER_1_PIN -1
#define ORIG_HEATER_1_PIN -1
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#ifdef SANGUINOLOLU_V_1_2
#ifdef SANGUINOLOLU_V_1_2
#define HEATER_BED_PIN 12 // (bed)
#define ORIG_HEATER_BED_PIN 12 // (bed)
#define ORIG_X_ENABLE_PIN 14
#define ORIG_X_ENABLE_PIN 14
#define ORIG_Y_ENABLE_PIN 14
#define ORIG_Y_ENABLE_PIN 14
#define ORIG_Z_ENABLE_PIN 26
#define ORIG_Z_ENABLE_PIN 26
...
@@ -2713,7 +2713,7 @@
...
@@ -2713,7 +2713,7 @@
#else
#else
#define HEATER_BED_PIN 14 // (bed)
#define ORIG_HEATER_BED_PIN 14 // (bed)
#define ORIG_X_ENABLE_PIN -1
#define ORIG_X_ENABLE_PIN -1
#define ORIG_Y_ENABLE_PIN -1
#define ORIG_Y_ENABLE_PIN -1
#define ORIG_Z_ENABLE_PIN -1
#define ORIG_Z_ENABLE_PIN -1
...
@@ -2721,10 +2721,10 @@
...
@@ -2721,10 +2721,10 @@
#endif
#endif
#define TEMP_0_PIN 7 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 33 extruder)
#define ORIG_TEMP_0_PIN 7 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 33 extruder)
#define TEMP_1_PIN -1
#define ORIG_TEMP_1_PIN -1
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define TEMP_BED_PIN 6 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)
#define ORIG_TEMP_BED_PIN 6 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)
#define SDPOWER -1
#define SDPOWER -1
#define SDSS 31
#define SDSS 31
...
@@ -2868,18 +2868,18 @@
...
@@ -2868,18 +2868,18 @@
#define KILL_PIN -1
#define KILL_PIN -1
#endif
#endif
#define HEATER_0_PIN 10 // HOTEND 1
#define ORIG_HEATER_0_PIN 10 // HOTEND 1
#define HEATER_1_PIN -1
#define ORIG_HEATER_1_PIN -1
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#define HEATER_3_PIN -1
#define ORIG_HEATER_3_PIN -1
#define TEMP_0_PIN 13 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 13 // ANALOG NUMBERING
#define TEMP_1_PIN 15 // ANALOG NUMBERING
#define ORIG_TEMP_1_PIN 15 // ANALOG NUMBERING
#define TEMP_2_PIN -1 // ANALOG NUMBERING
#define ORIG_TEMP_2_PIN -1 // ANALOG NUMBERING
#define HEATER_BED_PIN 8 // BED
#define ORIG_HEATER_BED_PIN 8 // BED
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
#define ORIG_TEMP_BED_PIN 14 // ANALOG NUMBERING
#if NUM_SERVOS > 0
#if NUM_SERVOS > 0
#define SERVO0_PIN 11
#define SERVO0_PIN 11
...
@@ -3070,22 +3070,22 @@
...
@@ -3070,22 +3070,22 @@
#define KILL_PIN -1
#define KILL_PIN -1
#endif
#endif
#define HEATER_0_PIN 10 // HOTEND 1
#define ORIG_HEATER_0_PIN 10 // HOTEND 1
#define HEATER_1_PIN 9 // HOTEND 2
#define ORIG_HEATER_1_PIN 9 // HOTEND 2
#define HEATER_2_PIN 16 // HOTEND 3
#define ORIG_HEATER_2_PIN 16 // HOTEND 3
#define HEATER_3_PIN 17 // HOTEND 4
#define ORIG_HEATER_3_PIN 17 // HOTEND 4
#define TEMP_0_PIN 13 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 13 // ANALOG NUMBERING
#define TEMP_1_PIN 15 // ANALOG NUMBERING
#define ORIG_TEMP_1_PIN 15 // ANALOG NUMBERING
#define TEMP_2_PIN 12 // ANALOG NUMBERING
#define ORIG_TEMP_2_PIN 12 // ANALOG NUMBERING
#define TEMP_3_PIN 11 // ANALOG NUMBERING
#define ORIG_TEMP_3_PIN 11 // ANALOG NUMBERING
#define TC1 4 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
#define TC1 4 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
#define TC2 5 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
#define TC2 5 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
#define HEATER_BED_PIN 8 // BED
#define ORIG_HEATER_BED_PIN 8 // BED
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
#define ORIG_TEMP_BED_PIN 14 // ANALOG NUMBERING
#ifdef NUM_SERVOS
#ifdef NUM_SERVOS
#define SERVO0_PIN 47
#define SERVO0_PIN 47
...
@@ -3250,17 +3250,17 @@
...
@@ -3250,17 +3250,17 @@
#define Z_MAX_PIN 32
#define Z_MAX_PIN 32
#define ORIG_Z_ENABLE_PIN 35
#define ORIG_Z_ENABLE_PIN 35
#define HEATER_BED_PIN 4
#define ORIG_HEATER_BED_PIN 4
#define TEMP_BED_PIN 10
#define ORIG_TEMP_BED_PIN 10
#define HEATER_0_PIN 2
#define ORIG_HEATER_0_PIN 2
#define TEMP_0_PIN 8
#define ORIG_TEMP_0_PIN 8
#define HEATER_1_PIN 3
#define ORIG_HEATER_1_PIN 3
#define TEMP_1_PIN 9
#define ORIG_TEMP_1_PIN 9
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define ORIG_E0_STEP_PIN 43
#define ORIG_E0_STEP_PIN 43
#define ORIG_E0_DIR_PIN 45
#define ORIG_E0_DIR_PIN 45
...
@@ -3373,21 +3373,21 @@
...
@@ -3373,21 +3373,21 @@
#define PS_ON_PIN 12
#define PS_ON_PIN 12
#define KILL_PIN -1
#define KILL_PIN -1
#define HEATER_0_PIN 9 // EXTRUDER 1
#define ORIG_HEATER_0_PIN 9 // EXTRUDER 1
#define HEATER_1_PIN 8 // EXTRUDER 2 (FAN On Sprinter)
#define ORIG_HEATER_1_PIN 8 // EXTRUDER 2 (FAN On Sprinter)
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#if TEMP_SENSOR_0 == -1
#if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 8 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 8 // ANALOG NUMBERING
#else
#else
#define TEMP_0_PIN 13 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 13 // ANALOG NUMBERING
#endif
#endif
#define TEMP_1_PIN 15 // ANALOG NUMBERING
#define ORIG_TEMP_1_PIN 15 // ANALOG NUMBERING
#define TEMP_2_PIN -1 // ANALOG NUMBERING
#define ORIG_TEMP_2_PIN -1 // ANALOG NUMBERING
#define HEATER_BED_PIN 10 // BED
#define ORIG_HEATER_BED_PIN 10 // BED
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
#define ORIG_TEMP_BED_PIN 14 // ANALOG NUMBERING
#define BEEPER_PIN 33 // Beeper on AUX-4
#define BEEPER_PIN 33 // Beeper on AUX-4
...
@@ -3476,9 +3476,9 @@
...
@@ -3476,9 +3476,9 @@
#define PS_ON_PIN 12
#define PS_ON_PIN 12
#define KILL_PIN -1
#define KILL_PIN -1
#define HEATER_0_PIN 9 // EXTRUDER 1
#define ORIG_HEATER_0_PIN 9 // EXTRUDER 1
#define HEATER_1_PIN 8 // EXTRUDER 2
#define ORIG_HEATER_1_PIN 8 // EXTRUDER 2
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#define SHIFT_CLK 63
#define SHIFT_CLK 63
#define SHIFT_LD 42
#define SHIFT_LD 42
...
@@ -3486,26 +3486,26 @@
...
@@ -3486,26 +3486,26 @@
#define SHIFT_EN 17
#define SHIFT_EN 17
#if TEMP_SENSOR_0 == -1
#if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 4 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 4 // ANALOG NUMBERING
#else
#else
#define TEMP_0_PIN 13 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 13 // ANALOG NUMBERING
#endif
#endif
#if TEMP_SENSOR_1 == -1
#if TEMP_SENSOR_1 == -1
#define TEMP_1_PIN 8 // ANALOG NUMBERING
#define ORIG_TEMP_1_PIN 8 // ANALOG NUMBERING
#else
#else
#define TEMP_1_PIN 15 // ANALOG NUMBERING
#define ORIG_TEMP_1_PIN 15 // ANALOG NUMBERING
#endif
#endif
#define TEMP_2_PIN -1 // ANALOG NUMBERING
#define ORIG_TEMP_2_PIN -1 // ANALOG NUMBERING
#define HEATER_BED_PIN 10 // BED
#define ORIG_HEATER_BED_PIN 10 // BED
#if TEMP_SENSOR_BED == -1
#if TEMP_SENSOR_BED == -1
#define TEMP_BED_PIN 8 // ANALOG NUMBERING
#define ORIG_TEMP_BED_PIN 8 // ANALOG NUMBERING
#else
#else
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
#define ORIG_TEMP_BED_PIN 14 // ANALOG NUMBERING
#endif
#endif
#define BEEPER_PIN 64
#define BEEPER_PIN 64
...
@@ -3590,20 +3590,20 @@
...
@@ -3590,20 +3590,20 @@
#define PS_ON_PIN -1
#define PS_ON_PIN -1
#define KILL_PIN -1
#define KILL_PIN -1
#define HEATER_0_PIN 7 // EXTRUDER 1
#define ORIG_HEATER_0_PIN 7 // EXTRUDER 1
#define HEATER_1_PIN 8 // EXTRUDER 2
#define ORIG_HEATER_1_PIN 8 // EXTRUDER 2
#define HEATER_2_PIN 9 // thermo couple
#define ORIG_HEATER_2_PIN 9 // thermo couple
#if TEMP_SENSOR_0 == -1
#if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 5 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 5 // ANALOG NUMBERING
#else
#else
#define TEMP_0_PIN 7 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 7 // ANALOG NUMBERING
#endif
#endif
#define TEMP_1_PIN 6 // ANALOG NUMBERING
#define ORIG_TEMP_1_PIN 6 // ANALOG NUMBERING
#define TEMP_2_PIN -1 // ANALOG NUMBERING
#define ORIG_TEMP_2_PIN -1 // ANALOG NUMBERING
#define HEATER_BED_PIN 3 // BED
#define ORIG_HEATER_BED_PIN 3 // BED
#define TEMP_BED_PIN 6 // ANALOG NUMBERING
#define ORIG_TEMP_BED_PIN 6 // ANALOG NUMBERING
#define BEEPER_PIN -1
#define BEEPER_PIN -1
...
@@ -3700,35 +3700,35 @@
...
@@ -3700,35 +3700,35 @@
#define PS_ON_PIN 12
#define PS_ON_PIN 12
#define KILL_PIN -1
#define KILL_PIN -1
#define HEATER_0_PIN 2
#define ORIG_HEATER_0_PIN 2
#define HEATER_1_PIN 8
#define ORIG_HEATER_1_PIN 8
#define HEATER_2_PIN 9
#define ORIG_HEATER_2_PIN 9
#define HEATER_BED_PIN 10
#define ORIG_HEATER_BED_PIN 10
#define ORIG_FAN_PIN 6
#define ORIG_FAN_PIN 6
#define FAN2_PIN 7
#define FAN2_PIN 7
#if TEMP_SENSOR_0 == -1
#if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 11 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 11 // ANALOG NUMBERING
#else
#else
#define TEMP_0_PIN 15 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 15 // ANALOG NUMBERING
#endif
#endif
#if TEMP_SENSOR_1 == -1
#if TEMP_SENSOR_1 == -1
#define TEMP_1_PIN 10 // ANALOG NUMBERING
#define ORIG_TEMP_1_PIN 10 // ANALOG NUMBERING
#else
#else
#define TEMP_1_PIN 13 // ANALOG NUMBERING
#define ORIG_TEMP_1_PIN 13 // ANALOG NUMBERING
#endif
#endif
#if TEMP_SENSOR_2 == -1
#if TEMP_SENSOR_2 == -1
#define TEMP_2_PIN 9 // ANALOG NUMBERING
#define ORIG_TEMP_2_PIN 9 // ANALOG NUMBERING
#else
#else
#define TEMP_2_PIN 12 // ANALOG NUMBERING
#define ORIG_TEMP_2_PIN 12 // ANALOG NUMBERING
#endif
#endif
#if TEMP_SENSOR_BED == -1
#if TEMP_SENSOR_BED == -1
#define TEMP_BED_PIN 8 // ANALOG NUMBERING
#define ORIG_TEMP_BED_PIN 8 // ANALOG NUMBERING
#else
#else
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
#define ORIG_TEMP_BED_PIN 14 // ANALOG NUMBERING
#endif
#endif
#define BEEPER_PIN 61
#define BEEPER_PIN 61
...
@@ -3795,17 +3795,17 @@
...
@@ -3795,17 +3795,17 @@
#define Z_MAX_PIN 18
#define Z_MAX_PIN 18
#define ORIG_Z_ENABLE_PIN 35
#define ORIG_Z_ENABLE_PIN 35
#define HEATER_BED_PIN -1
#define ORIG_HEATER_BED_PIN -1
#define TEMP_BED_PIN -1
#define ORIG_TEMP_BED_PIN -1
#define HEATER_0_PIN 2
#define ORIG_HEATER_0_PIN 2
#define TEMP_0_PIN 8
#define ORIG_TEMP_0_PIN 8
#define HEATER_1_PIN 1
#define ORIG_HEATER_1_PIN 1
#define TEMP_1_PIN 1
#define ORIG_TEMP_1_PIN 1
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define ORIG_E0_STEP_PIN 43
#define ORIG_E0_STEP_PIN 43
#define ORIG_E0_DIR_PIN 45
#define ORIG_E0_DIR_PIN 45
...
@@ -3862,17 +3862,17 @@
...
@@ -3862,17 +3862,17 @@
#define Z_STOP_PIN 29
#define Z_STOP_PIN 29
#define ORIG_Z_ENABLE_PIN 34
#define ORIG_Z_ENABLE_PIN 34
#define HEATER_BED_PIN 4
#define ORIG_HEATER_BED_PIN 4
#define TEMP_BED_PIN 10
#define ORIG_TEMP_BED_PIN 10
#define HEATER_0_PIN 2
#define ORIG_HEATER_0_PIN 2
#define TEMP_0_PIN 8
#define ORIG_TEMP_0_PIN 8
#define HEATER_1_PIN 3
#define ORIG_HEATER_1_PIN 3
#define TEMP_1_PIN 9
#define ORIG_TEMP_1_PIN 9
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define ORIG_E0_STEP_PIN 42
#define ORIG_E0_STEP_PIN 42
#define ORIG_E0_DIR_PIN 43
#define ORIG_E0_DIR_PIN 43
...
@@ -3988,18 +3988,18 @@
...
@@ -3988,18 +3988,18 @@
#define KILL_PIN -1
#define KILL_PIN -1
#endif
#endif
#define HEATER_0_PIN 10 // HOTEND 1
#define ORIG_HEATER_0_PIN 10 // HOTEND 1
#define HEATER_1_PIN 12 // HOTEND 2
#define ORIG_HEATER_1_PIN 12 // HOTEND 2
#define HEATER_2_PIN 6 // HOTEND 3
#define ORIG_HEATER_2_PIN 6 // HOTEND 3
#define HEATER_3_PIN -1
#define ORIG_HEATER_3_PIN -1
#define TEMP_0_PIN 13 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 13 // ANALOG NUMBERING
#define TEMP_1_PIN 15 // ANALOG NUMBERING
#define ORIG_TEMP_1_PIN 15 // ANALOG NUMBERING
#define TEMP_2_PIN -1 // ANALOG NUMBERING
#define ORIG_TEMP_2_PIN -1 // ANALOG NUMBERING
#define HEATER_BED_PIN 9 // NO BED
#define ORIG_HEATER_BED_PIN 9 // NO BED
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
#define ORIG_TEMP_BED_PIN 14 // ANALOG NUMBERING
#if NUM_SERVOS > 0
#if NUM_SERVOS > 0
#define SERVO0_PIN 11
#define SERVO0_PIN 11
...
@@ -4114,18 +4114,18 @@
...
@@ -4114,18 +4114,18 @@
#define KILL_PIN -1
#define KILL_PIN -1
#endif
#endif
#define HEATER_0_PIN 10 // HOTEND 1
#define ORIG_HEATER_0_PIN 10 // HOTEND 1
#define HEATER_1_PIN 12 // HOTEND 2
#define ORIG_HEATER_1_PIN 12 // HOTEND 2
#define HEATER_2_PIN 6 // HOTEND 3
#define ORIG_HEATER_2_PIN 6 // HOTEND 3
#define HEATER_3_PIN -1
#define ORIG_HEATER_3_PIN -1
#define TEMP_0_PIN 13 // ANALOG NUMBERING
#define ORIG_TEMP_0_PIN 13 // ANALOG NUMBERING
#define TEMP_1_PIN 15 // ANALOG NUMBERING
#define ORIG_TEMP_1_PIN 15 // ANALOG NUMBERING
#define TEMP_2_PIN -1 // ANALOG NUMBERING
#define ORIG_TEMP_2_PIN -1 // ANALOG NUMBERING
#define HEATER_BED_PIN 9 // NO BED
#define ORIG_HEATER_BED_PIN 9 // NO BED
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
#define ORIG_TEMP_BED_PIN 14 // ANALOG NUMBERING
#if NUM_SERVOS > 0
#if NUM_SERVOS > 0
#define SERVO0_PIN 11
#define SERVO0_PIN 11
...
@@ -4215,10 +4215,10 @@
...
@@ -4215,10 +4215,10 @@
#define ORIG_E0_DIR_PIN 7
#define ORIG_E0_DIR_PIN 7
#define ORIG_E0_ENABLE_PIN 19
#define ORIG_E0_ENABLE_PIN 19
#define HEATER_0_PIN 21 // Extruder
#define ORIG_HEATER_0_PIN 21 // Extruder
#define HEATER_1_PIN -1
#define ORIG_HEATER_1_PIN -1
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#define HEATER_BED_PIN 20 // Bed
#define ORIG_HEATER_BED_PIN 20 // Bed
#define ORIG_FAN_PIN 22 // Fan
#define ORIG_FAN_PIN 22 // Fan
// You may need to change ORIG_FAN_PIN to 16 because Marlin isn't using fastio.h
// You may need to change ORIG_FAN_PIN to 16 because Marlin isn't using fastio.h
// for the fan and Teensyduino uses a different pin mapping.
// for the fan and Teensyduino uses a different pin mapping.
...
@@ -4227,18 +4227,18 @@
...
@@ -4227,18 +4227,18 @@
#define X_STOP_PIN 13
#define X_STOP_PIN 13
#define Y_STOP_PIN 14
#define Y_STOP_PIN 14
#define Z_STOP_PIN 15
#define Z_STOP_PIN 15
#define TEMP_0_PIN 7 // Extruder / Analog pin numbering
#define ORIG_TEMP_0_PIN 7 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 6 // Bed / Analog pin numbering
#define ORIG_TEMP_BED_PIN 6 // Bed / Analog pin numbering
#else // Printrboard
#else // Printrboard
#define X_STOP_PIN 35
#define X_STOP_PIN 35
#define Y_STOP_PIN 8
#define Y_STOP_PIN 8
#define Z_STOP_PIN 36
#define Z_STOP_PIN 36
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define ORIG_TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering
#define ORIG_TEMP_BED_PIN 0 // Bed / Analog pin numbering
#endif
#endif
#define TEMP_1_PIN -1
#define ORIG_TEMP_1_PIN -1
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define SDPOWER -1
#define SDPOWER -1
#define SDSS 8
#define SDSS 8
...
@@ -4319,53 +4319,53 @@
...
@@ -4319,53 +4319,53 @@
#define KILL_PIN 46
#define KILL_PIN 46
#if (TEMP_SENSOR_0==0)
#if (TEMP_SENSOR_0==0)
#define TEMP_0_PIN -1
#define ORIG_TEMP_0_PIN -1
#define HEATER_0_PIN -1
#define ORIG_HEATER_0_PIN -1
#else
#else
#define HEATER_0_PIN 2 // EXTRUDER 1
#define ORIG_HEATER_0_PIN 2 // EXTRUDER 1
#if (TEMP_SENSOR_0==-1)
#if (TEMP_SENSOR_0==-1)
#define TEMP_0_PIN 6 // ANALOG NUMBERING - connector *K1* on RUMBA thermocouple ADD ON is used
#define ORIG_TEMP_0_PIN 6 // ANALOG NUMBERING - connector *K1* on RUMBA thermocouple ADD ON is used
#else
#else
#define TEMP_0_PIN 15 // ANALOG NUMBERING - default connector for thermistor *T0* on rumba board is used
#define ORIG_TEMP_0_PIN 15 // ANALOG NUMBERING - default connector for thermistor *T0* on rumba board is used
#endif
#endif
#endif
#endif
#if (TEMP_SENSOR_1==0)
#if (TEMP_SENSOR_1==0)
#define TEMP_1_PIN -1
#define ORIG_TEMP_1_PIN -1
#define HEATER_1_PIN -1
#define ORIG_HEATER_1_PIN -1
#else
#else
#define HEATER_1_PIN 3 // EXTRUDER 2
#define ORIG_HEATER_1_PIN 3 // EXTRUDER 2
#if (TEMP_SENSOR_1==-1)
#if (TEMP_SENSOR_1==-1)
#define TEMP_1_PIN 5 // ANALOG NUMBERING - connector *K2* on RUMBA thermocouple ADD ON is used
#define ORIG_TEMP_1_PIN 5 // ANALOG NUMBERING - connector *K2* on RUMBA thermocouple ADD ON is used
#else
#else
#define TEMP_1_PIN 14 // ANALOG NUMBERING - default connector for thermistor *T1* on rumba board is used
#define ORIG_TEMP_1_PIN 14 // ANALOG NUMBERING - default connector for thermistor *T1* on rumba board is used
#endif
#endif
#endif
#endif
#if (TEMP_SENSOR_2==0)
#if (TEMP_SENSOR_2==0)
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#else
#else
#define HEATER_2_PIN 6 // EXTRUDER 3
#define ORIG_HEATER_2_PIN 6 // EXTRUDER 3
#if (TEMP_SENSOR_2==-1)
#if (TEMP_SENSOR_2==-1)
#define TEMP_2_PIN 7 // ANALOG NUMBERING - connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_BED is defined as thermocouple
#define ORIG_TEMP_2_PIN 7 // ANALOG NUMBERING - connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_BED is defined as thermocouple
#else
#else
#define TEMP_2_PIN 13 // ANALOG NUMBERING - default connector for thermistor *T2* on rumba board is used
#define ORIG_TEMP_2_PIN 13 // ANALOG NUMBERING - default connector for thermistor *T2* on rumba board is used
#endif
#endif
#endif
#endif
//optional for extruder 4 or chamber: #define TEMP_X_PIN 12 // ANALOG NUMBERING - default connector for thermistor *T3* on rumba board is used
//optional for extruder 4 or chamber: #define TEMP_X_PIN 12 // ANALOG NUMBERING - default connector for thermistor *T3* on rumba board is used
//optional FAN1 can be used as 4th heater output: #define HEATER_3_PIN 8 // EXTRUDER 4
//optional FAN1 can be used as 4th heater output: #define ORIG_HEATER_3_PIN 8 // EXTRUDER 4
#if (TEMP_SENSOR_BED==0)
#if (TEMP_SENSOR_BED==0)
#define TEMP_BED_PIN -1
#define ORIG_TEMP_BED_PIN -1
#define HEATER_BED_PIN -1
#define ORIG_HEATER_BED_PIN -1
#else
#else
#define HEATER_BED_PIN 9 // BED
#define ORIG_HEATER_BED_PIN 9 // BED
#if (TEMP_SENSOR_BED==-1)
#if (TEMP_SENSOR_BED==-1)
#define TEMP_BED_PIN 7 // ANALOG NUMBERING - connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_2 is defined as thermocouple
#define ORIG_TEMP_BED_PIN 7 // ANALOG NUMBERING - connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_2 is defined as thermocouple
#else
#else
#define TEMP_BED_PIN 11 // ANALOG NUMBERING - default connector for thermistor *THB* on rumba board is used
#define ORIG_TEMP_BED_PIN 11 // ANALOG NUMBERING - default connector for thermistor *THB* on rumba board is used
#endif
#endif
#endif
#endif
...
@@ -4428,16 +4428,16 @@
...
@@ -4428,16 +4428,16 @@
#define ORIG_E0_ENABLE_PIN 22
#define ORIG_E0_ENABLE_PIN 22
#define E0_ATT_PIN 20
#define E0_ATT_PIN 20
#define HEATER_0_PIN 4 // Extruder
#define ORIG_HEATER_0_PIN 4 // Extruder
#define HEATER_1_PIN -1
#define ORIG_HEATER_1_PIN -1
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#define HEATER_BED_PIN 38 // Bed
#define ORIG_HEATER_BED_PIN 38 // Bed
#define ORIG_FAN_PIN 3 // Fan
#define ORIG_FAN_PIN 3 // Fan
#define TEMP_0_PIN 7 // Extruder / Analog pin numbering
#define ORIG_TEMP_0_PIN 7 // Extruder / Analog pin numbering
#define TEMP_1_PIN -1
#define ORIG_TEMP_1_PIN -1
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define TEMP_BED_PIN 6 // Bed / Analog pin numbering
#define ORIG_TEMP_BED_PIN 6 // Bed / Analog pin numbering
#define SDPOWER -1
#define SDPOWER -1
#define SDSS -1
#define SDSS -1
...
@@ -4493,10 +4493,10 @@
...
@@ -4493,10 +4493,10 @@
#define ORIG_E0_DIR_PIN 7
#define ORIG_E0_DIR_PIN 7
#define ORIG_E0_ENABLE_PIN 19
#define ORIG_E0_ENABLE_PIN 19
#define HEATER_0_PIN 21 // Extruder
#define ORIG_HEATER_0_PIN 21 // Extruder
#define HEATER_1_PIN -1
#define ORIG_HEATER_1_PIN -1
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#define HEATER_BED_PIN 20 // Bed
#define ORIG_HEATER_BED_PIN 20 // Bed
#define ORIG_FAN_PIN 16 // Fan -- from Teensyduino environment.
#define ORIG_FAN_PIN 16 // Fan -- from Teensyduino environment.
// For the fan and Teensyduino uses a different pin mapping.
// For the fan and Teensyduino uses a different pin mapping.
#define X_STOP_PIN 13
#define X_STOP_PIN 13
...
@@ -4504,11 +4504,11 @@
...
@@ -4504,11 +4504,11 @@
#define Z_STOP_PIN 15
#define Z_STOP_PIN 15
//#define Z_STOP_PIN 36 // For inductive sensor.
//#define Z_STOP_PIN 36 // For inductive sensor.
#define TEMP_0_PIN 7 // Extruder / Analog pin numbering
#define ORIG_TEMP_0_PIN 7 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 6 // Bed / Analog pin numbering
#define ORIG_TEMP_BED_PIN 6 // Bed / Analog pin numbering
#define TEMP_1_PIN -1
#define ORIG_TEMP_1_PIN -1
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define SDPOWER -1
#define SDPOWER -1
#define SDSS 20 // PB0 - 8 in marlin env.
#define SDSS 20 // PB0 - 8 in marlin env.
...
@@ -4635,20 +4635,20 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
...
@@ -4635,20 +4635,20 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
#define ORIG_E0_DIR_PIN 35 // 7
#define ORIG_E0_DIR_PIN 35 // 7
#define ORIG_E0_ENABLE_PIN 26 // Shared w/x
#define ORIG_E0_ENABLE_PIN 26 // Shared w/x
#define HEATER_0_PIN 15 // 21 // Extruder
#define ORIG_HEATER_0_PIN 15 // 21 // Extruder
#define HEATER_1_PIN -1
#define ORIG_HEATER_1_PIN -1
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#define HEATER_BED_PIN 14 // 20 // Bed
#define ORIG_HEATER_BED_PIN 14 // 20 // Bed
#define ORIG_FAN_PIN 16 // 22 // Fan
#define ORIG_FAN_PIN 16 // 22 // Fan
#define X_STOP_PIN 2
#define X_STOP_PIN 2
#define Y_STOP_PIN 3
#define Y_STOP_PIN 3
#define Z_STOP_PIN 4
#define Z_STOP_PIN 4
#define TEMP_0_PIN 7 // Extruder / Analog pin numbering
#define ORIG_TEMP_0_PIN 7 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 6 // Bed / Analog pin numbering
#define ORIG_TEMP_BED_PIN 6 // Bed / Analog pin numbering
#define TEMP_1_PIN -1
#define ORIG_TEMP_1_PIN -1
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define SDPOWER -1
#define SDPOWER -1
#define SD_DETECT_PIN -1
#define SD_DETECT_PIN -1
...
@@ -4719,19 +4719,19 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
...
@@ -4719,19 +4719,19 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
#define ORIG_E0_DIR_PIN 7
#define ORIG_E0_DIR_PIN 7
#define ORIG_E0_ENABLE_PIN 17
#define ORIG_E0_ENABLE_PIN 17
#define HEATER_0_PIN 21 // Extruder
#define ORIG_HEATER_0_PIN 21 // Extruder
#define HEATER_1_PIN -1
#define ORIG_HEATER_1_PIN -1
#define HEATER_2_PIN -1
#define ORIG_HEATER_2_PIN -1
#define HEATER_BED_PIN 20 // Bed
#define ORIG_HEATER_BED_PIN 20 // Bed
// You may need to change ORIG_FAN_PIN to 16 because Marlin isn't using fastio.h
// You may need to change ORIG_FAN_PIN to 16 because Marlin isn't using fastio.h
// for the fan and Teensyduino uses a different pin mapping.
// for the fan and Teensyduino uses a different pin mapping.
#define ORIG_FAN_PIN 16 // Fan
#define ORIG_FAN_PIN 16 // Fan
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define ORIG_TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering
#define ORIG_TEMP_BED_PIN 0 // Bed / Analog pin numbering
#define TEMP_1_PIN -1
#define ORIG_TEMP_1_PIN -1
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define SDPOWER -1
#define SDPOWER -1
#define LED_PIN -1
#define LED_PIN -1
...
@@ -4802,21 +4802,21 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
...
@@ -4802,21 +4802,21 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
#define PS_ON_PIN 14
#define PS_ON_PIN 14
#define KILL_PIN -1
#define KILL_PIN -1
#define HEATER_0_PIN 12 // (extruder)
#define ORIG_HEATER_0_PIN 12 // (extruder)
#define HEATER_BED_PIN 16 // (bed)
#define ORIG_HEATER_BED_PIN 16 // (bed)
#define ORIG_X_ENABLE_PIN 19
#define ORIG_X_ENABLE_PIN 19
#define ORIG_Y_ENABLE_PIN 24
#define ORIG_Y_ENABLE_PIN 24
#define ORIG_Z_ENABLE_PIN 29
#define ORIG_Z_ENABLE_PIN 29
#define ORIG_E0_ENABLE_PIN 13
#define ORIG_E0_ENABLE_PIN 13
#define TEMP_0_PIN 0 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 33 extruder)
#define ORIG_TEMP_0_PIN 0 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 33 extruder)
#define TEMP_1_PIN -1
#define ORIG_TEMP_1_PIN -1
#define TEMP_2_PIN -1
#define ORIG_TEMP_2_PIN -1
#define TEMP_BED_PIN 5 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)
#define ORIG_TEMP_BED_PIN 5 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)