|
@@ -3,10 +3,10 @@
|
3
|
3
|
*/
|
4
|
4
|
|
5
|
5
|
#ifndef __AVR_ATmega2560__
|
6
|
|
-#error Oops! Make sure you have 'Arduino Mega 2560 or Rambo' selected from the 'Tools -> Boards' menu.
|
|
6
|
+ #error Oops! Make sure you have 'Arduino Mega 2560 or Rambo' selected from the 'Tools -> Boards' menu.
|
7
|
7
|
#endif
|
8
|
8
|
|
9
|
|
-#define LARGE_FLASH true
|
|
9
|
+#define LARGE_FLASH true
|
10
|
10
|
|
11
|
11
|
|
12
|
12
|
#undef X_MS1_PIN
|
|
@@ -20,94 +20,94 @@
|
20
|
20
|
#undef E1_MS1_PIN
|
21
|
21
|
#undef E1_MS2_PIN
|
22
|
22
|
|
23
|
|
-#define X_STEP_PIN 37
|
24
|
|
-#define X_DIR_PIN 48
|
25
|
|
-#define X_MIN_PIN 12
|
26
|
|
-#define X_MAX_PIN 30
|
27
|
|
-#define X_ENABLE_PIN 29
|
28
|
|
-#define X_MS1_PIN 40
|
29
|
|
-#define X_MS2_PIN 41
|
30
|
|
-
|
31
|
|
-#define Y_STEP_PIN 36
|
32
|
|
-#define Y_DIR_PIN 49
|
33
|
|
-#define Y_MIN_PIN 11
|
34
|
|
-#define Y_MAX_PIN 24
|
35
|
|
-#define Y_ENABLE_PIN 28
|
36
|
|
-#define Y_MS1_PIN 69
|
37
|
|
-#define Y_MS2_PIN 39
|
38
|
|
-
|
39
|
|
-#define Z_STEP_PIN 35
|
40
|
|
-#define Z_DIR_PIN 47
|
41
|
|
-#define Z_MIN_PIN 10
|
42
|
|
-#define Z_MAX_PIN 23
|
43
|
|
-#define Z_ENABLE_PIN 27
|
44
|
|
-#define Z_MS1_PIN 68
|
45
|
|
-#define Z_MS2_PIN 67
|
46
|
|
-
|
47
|
|
-#define HEATER_BED_PIN 4
|
48
|
|
-#define TEMP_BED_PIN 2
|
49
|
|
-
|
50
|
|
-#define HEATER_0_PIN 3
|
51
|
|
-#define TEMP_0_PIN 0
|
52
|
|
-
|
53
|
|
-#define HEATER_1_PIN 7
|
54
|
|
-#define TEMP_1_PIN 1
|
|
23
|
+#define X_STEP_PIN 37
|
|
24
|
+#define X_DIR_PIN 48
|
|
25
|
+#define X_MIN_PIN 12
|
|
26
|
+#define X_MAX_PIN 30
|
|
27
|
+#define X_ENABLE_PIN 29
|
|
28
|
+#define X_MS1_PIN 40
|
|
29
|
+#define X_MS2_PIN 41
|
|
30
|
+
|
|
31
|
+#define Y_STEP_PIN 36
|
|
32
|
+#define Y_DIR_PIN 49
|
|
33
|
+#define Y_MIN_PIN 11
|
|
34
|
+#define Y_MAX_PIN 24
|
|
35
|
+#define Y_ENABLE_PIN 28
|
|
36
|
+#define Y_MS1_PIN 69
|
|
37
|
+#define Y_MS2_PIN 39
|
|
38
|
+
|
|
39
|
+#define Z_STEP_PIN 35
|
|
40
|
+#define Z_DIR_PIN 47
|
|
41
|
+#define Z_MIN_PIN 10
|
|
42
|
+#define Z_MAX_PIN 23
|
|
43
|
+#define Z_ENABLE_PIN 27
|
|
44
|
+#define Z_MS1_PIN 68
|
|
45
|
+#define Z_MS2_PIN 67
|
|
46
|
+
|
|
47
|
+#define HEATER_BED_PIN 4
|
|
48
|
+#define TEMP_BED_PIN 2
|
|
49
|
+
|
|
50
|
+#define HEATER_0_PIN 3
|
|
51
|
+#define TEMP_0_PIN 0
|
|
52
|
+
|
|
53
|
+#define HEATER_1_PIN 7
|
|
54
|
+#define TEMP_1_PIN 1
|
55
|
55
|
|
56
|
56
|
#if ENABLED(BARICUDA)
|
57
|
|
- #define HEATER_2_PIN 6
|
|
57
|
+ #define HEATER_2_PIN 6
|
58
|
58
|
#else
|
59
|
|
- #define HEATER_2_PIN -1
|
|
59
|
+ #define HEATER_2_PIN -1
|
60
|
60
|
#endif
|
61
|
61
|
|
62
|
|
-#define TEMP_2_PIN -1
|
|
62
|
+#define TEMP_2_PIN -1
|
63
|
63
|
|
64
|
64
|
#define E0_STEP_PIN 34
|
65
|
65
|
#define E0_DIR_PIN 43
|
66
|
66
|
#define E0_ENABLE_PIN 26
|
67
|
|
-#define E0_MS1_PIN 65
|
68
|
|
-#define E0_MS2_PIN 66
|
|
67
|
+#define E0_MS1_PIN 65
|
|
68
|
+#define E0_MS2_PIN 66
|
69
|
69
|
|
70
|
70
|
#define E1_STEP_PIN -1
|
71
|
71
|
#define E1_DIR_PIN -1
|
72
|
72
|
#define E1_ENABLE_PIN -1
|
73
|
|
-#define E1_MS1_PIN -1
|
74
|
|
-#define E1_MS2_PIN -1
|
|
73
|
+#define E1_MS1_PIN -1
|
|
74
|
+#define E1_MS2_PIN -1
|
75
|
75
|
|
76
|
76
|
#define MOTOR_CURRENT_PWM_XY_PIN 46
|
77
|
|
-#define MOTOR_CURRENT_PWM_Z_PIN 45
|
78
|
|
-#define MOTOR_CURRENT_PWM_E_PIN 44
|
|
77
|
+#define MOTOR_CURRENT_PWM_Z_PIN 45
|
|
78
|
+#define MOTOR_CURRENT_PWM_E_PIN 44
|
79
|
79
|
//Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
|
80
|
80
|
#define MOTOR_CURRENT_PWM_RANGE 2000
|
81
|
81
|
#define DEFAULT_PWM_MOTOR_CURRENT {1300, 1300, 1250}
|
82
|
|
-#define SDPOWER -1
|
83
|
|
-#define SDSS 53
|
84
|
|
-#define LED_PIN 13
|
85
|
|
-#define FAN_PIN 8
|
86
|
|
-#define FAN_1_PIN 6
|
87
|
|
-#define PS_ON_PIN -1
|
88
|
|
-#define KILL_PIN -1 //80 with Smart Controller LCD
|
89
|
|
-#define SUICIDE_PIN -1 //PIN that has to be turned on right after start, to keep power flowing.
|
|
82
|
+#define SDPOWER -1
|
|
83
|
+#define SDSS 53
|
|
84
|
+#define LED_PIN 13
|
|
85
|
+#define FAN_PIN 8
|
|
86
|
+#define FAN_1_PIN 6
|
|
87
|
+#define PS_ON_PIN -1
|
|
88
|
+#define KILL_PIN -1 // 80 with Smart Controller LCD
|
|
89
|
+#define SUICIDE_PIN -1 // PIN that has to be turned on right after start, to keep power flowing.
|
90
|
90
|
|
91
|
91
|
#if ENABLED(ULTRA_LCD)
|
92
|
92
|
|
93
|
|
- #define KILL_PIN 32
|
|
93
|
+ #define KILL_PIN 32
|
94
|
94
|
|
95
|
95
|
#if ENABLED(NEWPANEL)
|
96
|
96
|
|
97
|
|
- #define BEEPER_PIN 84 // Beeper on AUX-4
|
98
|
|
- #define LCD_PINS_RS 82
|
|
97
|
+ #define BEEPER_PIN 84 // Beeper on AUX-4
|
|
98
|
+ #define LCD_PINS_RS 82
|
99
|
99
|
#define LCD_PINS_ENABLE 18
|
100
|
|
- #define LCD_PINS_D4 19
|
101
|
|
- #define LCD_PINS_D5 70
|
102
|
|
- #define LCD_PINS_D6 85
|
103
|
|
- #define LCD_PINS_D7 71
|
|
100
|
+ #define LCD_PINS_D4 19
|
|
101
|
+ #define LCD_PINS_D5 70
|
|
102
|
+ #define LCD_PINS_D6 85
|
|
103
|
+ #define LCD_PINS_D7 71
|
104
|
104
|
|
105
|
105
|
//buttons are directly attached using AUX-2
|
106
|
|
- #define BTN_EN1 14
|
107
|
|
- #define BTN_EN2 72
|
108
|
|
- #define BTN_ENC 9 //the click
|
|
106
|
+ #define BTN_EN1 14
|
|
107
|
+ #define BTN_EN2 72
|
|
108
|
+ #define BTN_ENC 9 // the click
|
109
|
109
|
|
110
|
|
- #define SDCARDDETECT 15
|
|
110
|
+ #define SDCARDDETECT 15
|
111
|
111
|
|
112
|
112
|
#endif //NEWPANEL
|
113
|
113
|
#endif //ULTRA_LCD
|