MKS 12864 OLED pins for SGEN-L (#16188)
This commit is contained in:
parent
23d1801022
commit
98814e1c47
|
@ -203,18 +203,34 @@
|
|||
#define LCD_PINS_D4 P0_17
|
||||
|
||||
#else
|
||||
#define LCD_PINS_RS P0_16
|
||||
|
||||
#define BTN_EN1 P3_25
|
||||
#define BTN_EN2 P3_26
|
||||
|
||||
#define LCD_PINS_ENABLE P0_18
|
||||
#define LCD_PINS_D4 P0_15
|
||||
|
||||
#define LCD_SDSS P0_28
|
||||
#define SD_DETECT_PIN P0_27
|
||||
|
||||
#if ENABLED(MKS_12864OLED_SSD1306)
|
||||
|
||||
#define LCD_PINS_DC P0_17
|
||||
#define DOGLCD_CS P0_16
|
||||
#define DOGLCD_A0 LCD_PINS_DC
|
||||
#define DOGLCD_SCK P0_15
|
||||
#define DOGLCD_MOSI P0_18
|
||||
|
||||
#define LCD_PINS_RS P1_00
|
||||
#define LCD_PINS_D7 P1_22
|
||||
#define KILL_PIN -1 // NC
|
||||
|
||||
#else // !MKS_12864OLED_SSD1306
|
||||
|
||||
#define LCD_PINS_RS P0_16
|
||||
|
||||
#define LCD_PINS_ENABLE P0_18
|
||||
#define LCD_PINS_D4 P0_15
|
||||
|
||||
#if ENABLED(FYSETC_MINI_12864)
|
||||
|
||||
#define DOGLCD_CS P0_18
|
||||
#define DOGLCD_A0 P0_16
|
||||
#define DOGLCD_SCK P0_07
|
||||
|
@ -256,7 +272,9 @@
|
|||
|
||||
#endif // !FYSETC_MINI_12864
|
||||
|
||||
#endif
|
||||
#endif // !MKS_12864OLED_SSD1306
|
||||
|
||||
#endif // !CR10_STOCKDISPLAY
|
||||
|
||||
#endif // HAS_SPI_LCD
|
||||
|
||||
|
|
Loading…
Reference in a new issue