|
@@ -35,15 +35,13 @@
|
35
|
35
|
#define DEFAULT_MACHINE_NAME "Formbot"
|
36
|
36
|
#define BOARD_NAME "Formbot"
|
37
|
37
|
|
38
|
|
-#define LARGE_FLASH true
|
39
|
|
-
|
40
|
38
|
//
|
41
|
39
|
// Servos
|
42
|
40
|
//
|
43
|
|
-#define SERVO0_PIN 11
|
|
41
|
+#define SERVO0_PIN 11
|
44
|
42
|
#define SERVO1_PIN 6
|
45
|
43
|
#define SERVO2_PIN 5
|
46
|
|
-#define SERVO3_PIN -1
|
|
44
|
+#define SERVO3_PIN -1
|
47
|
45
|
|
48
|
46
|
//
|
49
|
47
|
// Limit Switches
|
|
@@ -64,35 +62,43 @@
|
64
|
62
|
#define Z_MIN_PROBE_PIN 32
|
65
|
63
|
#endif
|
66
|
64
|
|
67
|
|
-#define SLED_PIN -1
|
68
|
|
-
|
69
|
65
|
//
|
70
|
66
|
// Steppers
|
71
|
67
|
//
|
72
|
68
|
#define X_STEP_PIN 54
|
73
|
69
|
#define X_DIR_PIN 55
|
74
|
70
|
#define X_ENABLE_PIN 38
|
75
|
|
-#define X_CS_PIN 53
|
|
71
|
+#ifndef X_CS_PIN
|
|
72
|
+ #define X_CS_PIN 53
|
|
73
|
+#endif
|
76
|
74
|
|
77
|
75
|
#define Y_STEP_PIN 60
|
78
|
76
|
#define Y_DIR_PIN 61
|
79
|
77
|
#define Y_ENABLE_PIN 56
|
80
|
|
-#define Y_CS_PIN 49
|
|
78
|
+#ifndef Y_CS_PIN
|
|
79
|
+ #define Y_CS_PIN 49
|
|
80
|
+#endif
|
81
|
81
|
|
82
|
82
|
#define Z_STEP_PIN 46
|
83
|
83
|
#define Z_DIR_PIN 48
|
84
|
84
|
#define Z_ENABLE_PIN 62
|
85
|
|
-#define Z_CS_PIN 40
|
|
85
|
+#ifndef Z_CS_PIN
|
|
86
|
+ #define Z_CS_PIN 40
|
|
87
|
+#endif
|
86
|
88
|
|
87
|
89
|
#define E0_STEP_PIN 26
|
88
|
90
|
#define E0_DIR_PIN 28
|
89
|
91
|
#define E0_ENABLE_PIN 24
|
90
|
|
-#define E0_CS_PIN 42
|
|
92
|
+#ifndef E0_CS_PIN
|
|
93
|
+ #define E0_CS_PIN 42
|
|
94
|
+#endif
|
91
|
95
|
|
92
|
96
|
#define E1_STEP_PIN 36
|
93
|
97
|
#define E1_DIR_PIN 34
|
94
|
98
|
#define E1_ENABLE_PIN 30
|
95
|
|
-#define E1_CS_PIN 44
|
|
99
|
+#ifndef E1_CS_PIN
|
|
100
|
+ #define E1_CS_PIN 44
|
|
101
|
+#endif
|
96
|
102
|
|
97
|
103
|
#define E2_STEP_PIN 42
|
98
|
104
|
#define E2_DIR_PIN 43
|
|
@@ -103,7 +109,7 @@
|
103
|
109
|
//
|
104
|
110
|
#define TEMP_0_PIN 13 // Analog Input
|
105
|
111
|
#define TEMP_1_PIN 15 // Analog Input
|
106
|
|
-#define TEMP_BED_PIN 3 // Analog Input
|
|
112
|
+#define TEMP_BED_PIN 3 // Analog Input
|
107
|
113
|
|
108
|
114
|
// SPI for Max6675 or Max31855 Thermocouple
|
109
|
115
|
#if DISABLED(SDSUPPORT)
|
|
@@ -132,16 +138,16 @@
|
132
|
138
|
//
|
133
|
139
|
// Heaters / Fans
|
134
|
140
|
//
|
135
|
|
-#define HEATER_0_PIN 10
|
|
141
|
+#define HEATER_0_PIN 10
|
136
|
142
|
#define HEATER_1_PIN 7
|
137
|
|
-#define HEATER_BED_PIN 58
|
|
143
|
+#define HEATER_BED_PIN 58
|
138
|
144
|
|
139
|
145
|
#define LED4_PIN 8
|
140
|
|
-#define LASER_PIN -1
|
141
|
146
|
|
142
|
147
|
#define FAN_PIN 9
|
143
|
|
-#if(!ENABLED(FilamentSensor))
|
144
|
|
- #define FAN1_PIN 4
|
|
148
|
+
|
|
149
|
+#if !ENABLED(FILAMENT_RUNOUT_SENSOR)
|
|
150
|
+ #define FAN1_PIN 4
|
145
|
151
|
#endif
|
146
|
152
|
|
147
|
153
|
//
|
|
@@ -153,32 +159,26 @@
|
153
|
159
|
// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
|
154
|
160
|
#define FILWIDTH_PIN 5 // Analog Input
|
155
|
161
|
|
156
|
|
-#define PS_ON_PIN 12
|
|
162
|
+#ifndef PS_ON_PIN
|
|
163
|
+ #define PS_ON_PIN 12
|
|
164
|
+#endif
|
157
|
165
|
|
158
|
166
|
//
|
159
|
167
|
// LCD / Controller
|
160
|
168
|
//
|
161
|
|
-// Formbot boards only support the use of the REPRAP_DISCOUNT_SMART_CONTROLLER LCD Panel
|
162
|
|
-//
|
163
|
|
-
|
164
|
|
-#if ENABLED(ULTRA_LCD)
|
165
|
|
-
|
166
|
|
- #define LCD_PINS_RS 16
|
167
|
|
- #define LCD_PINS_ENABLE 17
|
168
|
|
- #define LCD_PINS_D4 23
|
169
|
|
- #define LCD_PINS_D5 25
|
170
|
|
- #define LCD_PINS_D6 27
|
171
|
|
- #define LCD_PINS_D7 29
|
172
|
|
-
|
173
|
|
- #if ENABLED(NEWPANEL)
|
174
|
|
- #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
175
|
|
- #define BEEPER_PIN 37
|
176
|
|
- #define BTN_EN1 31
|
177
|
|
- #define BTN_EN2 33
|
178
|
|
- #define BTN_ENC 35
|
179
|
|
- #define SD_DETECT_PIN 49
|
180
|
|
- #define KILL_PIN 41
|
181
|
|
- #endif
|
182
|
|
- #endif // NEWPANEL
|
183
|
|
-
|
184
|
|
-#endif // ULTRA_LCD
|
|
169
|
+// Formbot only supports REPRAP_DISCOUNT_SMART_CONTROLLER
|
|
170
|
+//
|
|
171
|
+#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
|
172
|
+ #define LCD_PINS_RS 16
|
|
173
|
+ #define LCD_PINS_ENABLE 17
|
|
174
|
+ #define LCD_PINS_D4 23
|
|
175
|
+ #define LCD_PINS_D5 25
|
|
176
|
+ #define LCD_PINS_D6 27
|
|
177
|
+ #define LCD_PINS_D7 29
|
|
178
|
+ #define BEEPER_PIN 37
|
|
179
|
+ #define BTN_EN1 31
|
|
180
|
+ #define BTN_EN2 33
|
|
181
|
+ #define BTN_ENC 35
|
|
182
|
+ #define SD_DETECT_PIN 49
|
|
183
|
+ #define KILL_PIN 41
|
|
184
|
+#endif
|