|
@@ -137,21 +137,6 @@
|
137
|
137
|
#define CASE_LIGHT_PIN 45
|
138
|
138
|
|
139
|
139
|
//
|
140
|
|
-// LCD / Controller
|
141
|
|
-//
|
142
|
|
-#define SD_DETECT_PIN 49
|
143
|
|
-#define BEEPER_PIN 44
|
144
|
|
-#define LCD_PINS_RS 19
|
145
|
|
-#define LCD_PINS_ENABLE 42
|
146
|
|
-#define LCD_PINS_D4 18
|
147
|
|
-#define LCD_PINS_D5 38
|
148
|
|
-#define LCD_PINS_D6 41
|
149
|
|
-#define LCD_PINS_D7 40
|
150
|
|
-#define BTN_EN1 11
|
151
|
|
-#define BTN_EN2 12
|
152
|
|
-#define BTN_ENC 43
|
153
|
|
-
|
154
|
|
-//
|
155
|
140
|
// M3/M4/M5 - Spindle/Laser Control
|
156
|
141
|
//
|
157
|
142
|
#ifndef SPINDLE_LASER_PWM_PIN
|
|
@@ -163,3 +148,29 @@
|
163
|
148
|
#ifndef SPINDLE_DIR_PIN
|
164
|
149
|
#define SPINDLE_DIR_PIN 15
|
165
|
150
|
#endif
|
|
151
|
+
|
|
152
|
+//
|
|
153
|
+// LCD / Controller
|
|
154
|
+//
|
|
155
|
+#define SD_DETECT_PIN 49
|
|
156
|
+#define BEEPER_PIN 44
|
|
157
|
+#define LCD_PINS_D7 40
|
|
158
|
+#define BTN_EN1 11
|
|
159
|
+#define BTN_EN2 12
|
|
160
|
+#define BTN_ENC 43
|
|
161
|
+
|
|
162
|
+#if ENABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
|
|
163
|
+ #define LCD_PINS_DC 38 // Set as output on init
|
|
164
|
+ #define LCD_PINS_RS 41 // Pull low for 1s to init
|
|
165
|
+ // DOGM SPI LCD Support
|
|
166
|
+ #define DOGLCD_CS 19
|
|
167
|
+ #define DOGLCD_MOSI 42
|
|
168
|
+ #define DOGLCD_SCK 18
|
|
169
|
+ #define DOGLCD_A0 LCD_PINS_DC
|
|
170
|
+#else
|
|
171
|
+ #define LCD_PINS_RS 19
|
|
172
|
+ #define LCD_PINS_ENABLE 42
|
|
173
|
+ #define LCD_PINS_D4 18
|
|
174
|
+ #define LCD_PINS_D5 38
|
|
175
|
+ #define LCD_PINS_D6 41
|
|
176
|
+#endif
|