Browse Source

📌 Define MKS Monster8 pins for MKS_MINI_12864

Fixes #23324
vanilla_fb_2.0.x
Scott Lahteine 3 years ago
committed by Scott Lahteine
parent
commit
4cfe812c18
  1. 16
      Marlin/src/pins/stm32f4/pins_MKS_MONSTER8.h

16
Marlin/src/pins/stm32f4/pins_MKS_MONSTER8.h

@ -339,14 +339,18 @@
// MKS MINI12864 and MKS LCD12864B; If using MKS LCD12864A (Need to remove RPK2 resistor) // MKS MINI12864 and MKS LCD12864B; If using MKS LCD12864A (Need to remove RPK2 resistor)
#if ENABLED(MKS_MINI_12864) #if ENABLED(MKS_MINI_12864)
//#define LCD_BACKLIGHT_PIN -1
//#define LCD_RESET_PIN -1 #define ENABLE_SPI1
#define DOGLCD_A0 PD11 #define FORCE_SOFT_SPI
#define DOGLCD_CS EXP1_04_PIN #define DOGLCD_A0 EXP1_04_PIN
//#define DOGLCD_SCK EXP2_09_PIN #define DOGLCD_CS EXP1_05_PIN
//#define DOGLCD_MOSI EXP2_05_PIN #define DOGLCD_SCK EXP2_09_PIN
#define DOGLCD_MOSI EXP2_05_PIN
//#define LCD_BACKLIGHT_PIN -1
//#define LCD_RESET_PIN -1
#elif ENABLED(FYSETC_MINI_12864_2_1) #elif ENABLED(FYSETC_MINI_12864_2_1)
#define DOGLCD_CS EXP1_08_PIN #define DOGLCD_CS EXP1_08_PIN
#define DOGLCD_A0 EXP1_07_PIN #define DOGLCD_A0 EXP1_07_PIN
#define LCD_PINS_DC DOGLCD_A0 #define LCD_PINS_DC DOGLCD_A0

Loading…
Cancel
Save