Browse Source

Clean up CNControls pins

Scott Lahteine 8 years ago
parent
commit
abda4ab427
1 changed files with 93 additions and 98 deletions
  1. 93
    98
      Marlin/pins_CNCONTROLS_12.h

+ 93
- 98
Marlin/pins_CNCONTROLS_12.h View File

@@ -8,101 +8,96 @@
8 8
 
9 9
 //#define LARGE_FLASH true
10 10
 
11
- #define X_ENABLE_PIN           26
12
- #define X_STEP_PIN             25
13
- #define X_DIR_PIN              27
14
- #define X_MIN_PIN              19
15
- #define X_MAX_PIN              -1
16
- 
17
- #define Y_ENABLE_PIN           29
18
- #define Y_STEP_PIN             28
19
- #define Y_DIR_PIN              30
20
- #define Y_MIN_PIN              22
21
- #define Y_MAX_PIN              -1
22
- 
23
- #define Z_ENABLE_PIN           32
24
- #define Z_STEP_PIN             31
25
- #define Z_DIR_PIN              33
26
- #define Z_MIN_PIN              23
27
- #define Z_MAX_PIN              -1
28
-
29
-
30
-//Tools
31
-
32
- #define E0_ENABLE_PIN          58
33
- #define E0_STEP_PIN            57
34
- #define E0_DIR_PIN             55
35
- #define HEATER_0_PIN           11
36
- #define TEMP_0_PIN             0   // ANALOG INPUT !!
37
-// #define TOOL_0_PIN             56
38
-// #define TOOL_0_PWM_PIN         10 // used for red warning led at dual extruder
39
- 
40
- #define E1_ENABLE_PIN          60
41
- #define E1_STEP_PIN            61
42
- #define E1_DIR_PIN             62
43
- #define HEATER_1_PIN           9 
44
- #define TEMP_1_PIN             9  // 9 for tool3 -> 13 for chambertemp
45
-// #define TOOL_1_PIN             59
46
-// #define TOOL_1_PWM_PIN         8 // used for lights at dual extruder
47
- 
48
- #define E2_ENABLE_PIN          44
49
- #define E2_STEP_PIN            46
50
- #define E2_DIR_PIN             66
51
- #define HEATER_2_PIN           6
52
- #define TEMP_2_PIN             13 // 10 for tool3 -> 13 for chambertemp
53
-// #define TOOL_2_PIN             4
54
-// #define TOOL_2_PWM_PIN         5
55
- 
56
- #define E3_ENABLE_PIN          47
57
- #define E3_STEP_PIN            45
58
- #define E3_DIR_PIN             69
59
- #define HEATER_3_PIN           3  
60
- #define TEMP_3_PIN             11  // 11 for tool4 -> 13 for chambertemp
61
-// #define TOOL_3_PIN             14
62
-// #define TOOL_3_PWM_PIN         2
63
- 
64
- #define HEATER_BED_PIN         24
65
- #define TEMP_BED_PIN           14   // ANALOG INPUT !! 
66
- 
67
-//common I/O
68
-
69
- //#define TEMP_CHAMBER_PIN        13  // ANALOG INPUT !!
70
- #define FIL_RUNOUT_PIN            18
71
- //#define PWM_1_PIN               12
72
- //#define PWM_2_PIN               13 
73
- //#define SPARE_IO                17  
74
- #define FAN_PIN                   5 // 5 is PWMtool3 -> 7 is common PWM pin for all tools 
75
- 
76
- 
77
-//user interface
78
-
79
- #define BEEPER_PIN                16
80
-
81
- // Pins for DOGM SPI LCD Support
82
- #define DOGLCD_A0             39
83
- #define DOGLCD_CS             35
84
- #define DOGLCD_MOSI           48
85
- #define DOGLCD_SCK            49
86
- #define LCD_SCREEN_ROT_180
87
- 
88
- //The encoder and click button 
89
- #define BTN_EN1 36
90
- #define BTN_EN2 34
91
- #define BTN_ENC 38  //the click switch
92
-
93
- //hardware buttons for manual movement of XYZ
94
- #define SHIFT_OUT             42
95
- #define SHIFT_LD              41
96
- #define SHIFT_CLK             40
97
-
98
- 
99
- //#define UI1                 43
100
- //#define UI2                 37
101
- 
102
-
103
-// Other 
104
-
105
- #define SDSS                  53
106
- #define SD_DETECT_PIN         15
107
- #define STAT_LED_BLUE         -1
108
- #define STAT_LED_RED          10 // TOOL_0_PWM_PIN 
11
+#define X_ENABLE_PIN          26
12
+#define X_STEP_PIN            25
13
+#define X_DIR_PIN             27
14
+#define X_MIN_PIN             19
15
+#define X_MAX_PIN             -1
16
+
17
+#define Y_ENABLE_PIN          29
18
+#define Y_STEP_PIN            28
19
+#define Y_DIR_PIN             30
20
+#define Y_MIN_PIN             22
21
+#define Y_MAX_PIN             -1
22
+
23
+#define Z_ENABLE_PIN          32
24
+#define Z_STEP_PIN            31
25
+#define Z_DIR_PIN             33
26
+#define Z_MIN_PIN             23
27
+#define Z_MAX_PIN             -1
28
+
29
+#define E0_ENABLE_PIN         58
30
+#define E0_STEP_PIN           57
31
+#define E0_DIR_PIN            55
32
+#define HEATER_0_PIN          11
33
+#define TEMP_0_PIN            0   // ANALOG INPUT !!
34
+
35
+#define E1_ENABLE_PIN         60
36
+#define E1_STEP_PIN           61
37
+#define E1_DIR_PIN            62
38
+#define HEATER_1_PIN           9
39
+#define TEMP_1_PIN             9  // 9 for tool3 -> 13 for chambertemp
40
+
41
+#define E2_ENABLE_PIN         44
42
+#define E2_STEP_PIN           46
43
+#define E2_DIR_PIN            66
44
+#define HEATER_2_PIN           6
45
+#define TEMP_2_PIN            13  // 10 for tool3 -> 13 for chambertemp
46
+
47
+#define E3_ENABLE_PIN         47
48
+#define E3_STEP_PIN           45
49
+#define E3_DIR_PIN            69
50
+#define HEATER_3_PIN           3
51
+#define TEMP_3_PIN            11  // 11 for tool4 -> 13 for chambertemp
52
+
53
+#define HEATER_BED_PIN        24
54
+#define TEMP_BED_PIN          14  // ANALOG INPUT !!
55
+
56
+// Tools
57
+
58
+//#define TOOL_0_PIN          56
59
+//#define TOOL_0_PWM_PIN      10  // red warning led at dual extruder
60
+//#define TOOL_1_PIN          59
61
+//#define TOOL_1_PWM_PIN       8  // lights at dual extruder
62
+//#define TOOL_2_PIN           4
63
+//#define TOOL_2_PWM_PIN       5
64
+//#define TOOL_3_PIN          14
65
+//#define TOOL_3_PWM_PIN       2
66
+
67
+// Common I/O
68
+
69
+//#define TEMP_CHAMBER_PIN    13  // ANALOG INPUT !!
70
+#define FIL_RUNOUT_PIN        18
71
+//#define PWM_1_PIN           12
72
+//#define PWM_2_PIN           13
73
+//#define SPARE_IO            17
74
+#define FAN_PIN                5  // 5 is PWMtool3 -> 7 is common PWM pin for all tools
75
+
76
+// User interface
77
+#define BEEPER_PIN            16
78
+
79
+// Pins for DOGM SPI LCD Support
80
+#define DOGLCD_A0             39
81
+#define DOGLCD_CS             35
82
+#define DOGLCD_MOSI           48
83
+#define DOGLCD_SCK            49
84
+#define LCD_SCREEN_ROT_180
85
+
86
+// The encoder and click button
87
+#define BTN_EN1 36
88
+#define BTN_EN2 34
89
+#define BTN_ENC 38
90
+
91
+// Hardware buttons for manual movement of XYZ
92
+#define SHIFT_OUT             42
93
+#define SHIFT_LD              41
94
+#define SHIFT_CLK             40
95
+
96
+//#define UI1                 43
97
+//#define UI2                 37
98
+
99
+// Other
100
+#define SDSS                  53
101
+#define SD_DETECT_PIN         15
102
+#define STAT_LED_BLUE         -1
103
+#define STAT_LED_RED          10 // TOOL_0_PWM_PIN

Loading…
Cancel
Save