Browse Source

Clean up bq Zum Mega 3D pins

Scott Lahteine 6 years ago
parent
commit
c536ee1122
1 changed files with 19 additions and 23 deletions
  1. 19
    23
      Marlin/src/pins/pins_BQ_ZUM_MEGA_3D.h

+ 19
- 23
Marlin/src/pins/pins_BQ_ZUM_MEGA_3D.h View File

@@ -33,10 +33,10 @@
33 33
 //
34 34
 // Heaters / Fans
35 35
 //
36
-#define RAMPS_D8_PIN  10
37
-#define RAMPS_D9_PIN  12
38
-#define RAMPS_D10_PIN  9
39
-#define MOSFET_D_PIN   7
36
+#define RAMPS_D8_PIN       10
37
+#define RAMPS_D9_PIN       12
38
+#define RAMPS_D10_PIN       9
39
+#define MOSFET_D_PIN        7
40 40
 
41 41
 //
42 42
 // Auto fans
@@ -47,11 +47,6 @@
47 47
 #define ORIG_E3_AUTO_FAN_PIN  6
48 48
 
49 49
 //
50
-// Misc. Functions
51
-//
52
-#define CASE_LIGHT_PIN     44   // MUST BE HARDWARE PWM
53
-
54
-//
55 50
 // M3/M4/M5 - Spindle/Laser Control
56 51
 //
57 52
 #define SPINDLE_LASER_ENABLE_PIN 40   // Pin should have a pullup/pulldown!
@@ -64,37 +59,39 @@
64 59
 // Limit Switches
65 60
 //
66 61
 #undef X_MAX_PIN
67
-#define X_MAX_PIN         79   // 2
62
+#define X_MAX_PIN          79   // 2
68 63
 
69 64
 //
70 65
 // Z Probe (when not Z_MIN_PIN)
71 66
 //
72 67
 #undef Z_MIN_PROBE_PIN
73
-#define Z_MIN_PROBE_PIN   19   // IND_S_5V
68
+#define Z_MIN_PROBE_PIN    19   // IND_S_5V
74 69
 
75 70
 #undef Z_ENABLE_PIN
76
-#define Z_ENABLE_PIN      77   // 62
71
+#define Z_ENABLE_PIN       77   // 62
77 72
 
78 73
 //
79 74
 // Steppers
80 75
 //
81
-#define DIGIPOTSS_PIN     22
82
-#define DIGIPOT_CHANNELS  { 4, 5, 3, 0, 1 }
76
+#define DIGIPOTSS_PIN      22
77
+#define DIGIPOT_CHANNELS   { 4, 5, 3, 0, 1 }
83 78
 
84 79
 //
85 80
 // Temperature Sensors
86 81
 //
87 82
 #undef TEMP_1_PIN
88
-#define TEMP_1_PIN        14   // Analog Input (15)
83
+#define TEMP_1_PIN         14   // Analog Input (15)
89 84
 
90 85
 #undef TEMP_BED_PIN
91
-#define TEMP_BED_PIN      15   // Analog Input (14)
86
+#define TEMP_BED_PIN       15   // Analog Input (14)
92 87
 
93 88
 //
94 89
 // Misc. Functions
95 90
 //
96
-#undef PS_ON_PIN               // 12
97
-#define PS_ON_PIN         81   // External Power Supply
91
+#undef PS_ON_PIN                // 12
92
+#define PS_ON_PIN          81   // External Power Supply
93
+
94
+#define CASE_LIGHT_PIN     44   // MUST BE HARDWARE PWM
98 95
 
99 96
 
100 97
 // This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team
@@ -104,15 +101,14 @@
104 101
 #ifdef Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
105 102
   #undef Z_MIN_PIN
106 103
   #undef Z_MAX_PIN
107
-  #define Z_MIN_PIN       19   // IND_S_5V
108
-  #define Z_MAX_PIN       18   // Z-MIN Label
104
+  #define Z_MIN_PIN        19   // IND_S_5V
105
+  #define Z_MAX_PIN        18   // Z-MIN Label
109 106
 #endif
110 107
 
111
-
112 108
 //
113
-// This pin is used by the official Hephestos 2 heated bed upgrade kit
109
+// Used by the Hephestos 2 heated bed upgrade kit
114 110
 //
115 111
 #if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
116 112
   #undef HEATER_BED_PIN
117
-  #define HEATER_BED_PIN 8
113
+  #define HEATER_BED_PIN    8
118 114
 #endif

Loading…
Cancel
Save