Browse Source

📌 Define MKS Monster8 pins for MKS_MINI_12864

Fixes #23324
Scott Lahteine 3 years ago
parent
commit
c160a57397
1 changed files with 10 additions and 6 deletions
  1. 10
    6
      Marlin/src/pins/stm32f4/pins_MKS_MONSTER8.h

+ 10
- 6
Marlin/src/pins/stm32f4/pins_MKS_MONSTER8.h View File

@@ -339,14 +339,18 @@
339 339
 
340 340
   // MKS MINI12864 and MKS LCD12864B; If using MKS LCD12864A (Need to remove RPK2 resistor)
341 341
   #if ENABLED(MKS_MINI_12864)
342
-    //#define LCD_BACKLIGHT_PIN             -1
343
-    //#define LCD_RESET_PIN                 -1
344
-    #define DOGLCD_A0                       PD11
345
-    #define DOGLCD_CS                EXP1_04_PIN
346
-    //#define DOGLCD_SCK             EXP2_09_PIN
347
-    //#define DOGLCD_MOSI            EXP2_05_PIN
342
+
343
+    #define ENABLE_SPI1
344
+    #define FORCE_SOFT_SPI
345
+    #define DOGLCD_A0                EXP1_04_PIN
346
+    #define DOGLCD_CS                EXP1_05_PIN
347
+    #define DOGLCD_SCK               EXP2_09_PIN
348
+    #define DOGLCD_MOSI              EXP2_05_PIN
349
+    //#define LCD_BACKLIGHT_PIN               -1
350
+    //#define LCD_RESET_PIN                   -1
348 351
 
349 352
   #elif ENABLED(FYSETC_MINI_12864_2_1)
353
+
350 354
     #define DOGLCD_CS                EXP1_08_PIN
351 355
     #define DOGLCD_A0                EXP1_07_PIN
352 356
     #define LCD_PINS_DC                DOGLCD_A0

Loading…
Cancel
Save