Skip to content

Commit

Permalink
📌 Define MKS Monster8 pins for MKS_MINI_12864
Browse files Browse the repository at this point in the history
Fixes #23324
  • Loading branch information
thinkyhead committed Dec 27, 2021
1 parent d557db8 commit c160a57
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Marlin/src/pins/stm32f4/pins_MKS_MONSTER8.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,14 +339,18 @@

// MKS MINI12864 and MKS LCD12864B; If using MKS LCD12864A (Need to remove RPK2 resistor)
#if ENABLED(MKS_MINI_12864)
//#define LCD_BACKLIGHT_PIN -1
//#define LCD_RESET_PIN -1
#define DOGLCD_A0 PD11
#define DOGLCD_CS EXP1_04_PIN
//#define DOGLCD_SCK EXP2_09_PIN
//#define DOGLCD_MOSI EXP2_05_PIN

#define ENABLE_SPI1
#define FORCE_SOFT_SPI
#define DOGLCD_A0 EXP1_04_PIN
#define DOGLCD_CS EXP1_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)

#define DOGLCD_CS EXP1_08_PIN
#define DOGLCD_A0 EXP1_07_PIN
#define LCD_PINS_DC DOGLCD_A0
Expand Down

0 comments on commit c160a57

Please sign in to comment.