Define ANET_FULL_GRAPHICS_LCD pins for SKR 1.4 (#16928)
This commit is contained in:
parent
7bf3581b02
commit
2471a8bb91
1 changed files with 13 additions and 2 deletions
|
@ -232,9 +232,19 @@
|
||||||
* EXP2 EXP1
|
* EXP2 EXP1
|
||||||
*/
|
*/
|
||||||
#if HAS_SPI_LCD
|
#if HAS_SPI_LCD
|
||||||
#define BTN_ENC P0_28 // (58) open-drain
|
#if ENABLED(ANET_FULL_GRAPHICS_LCD)
|
||||||
|
|
||||||
#if ENABLED(CR10_STOCKDISPLAY)
|
#define LCD_PINS_RS P1_23
|
||||||
|
|
||||||
|
#define BTN_EN1 P1_20
|
||||||
|
#define BTN_EN2 P1_22
|
||||||
|
#define BTN_ENC P1_18
|
||||||
|
|
||||||
|
#define LCD_PINS_ENABLE P1_21
|
||||||
|
#define LCD_PINS_D4 P1_19
|
||||||
|
|
||||||
|
#elif ENABLED(CR10_STOCKDISPLAY)
|
||||||
|
#define BTN_ENC P0_28 // (58) open-drain
|
||||||
#define LCD_PINS_RS P1_22
|
#define LCD_PINS_RS P1_22
|
||||||
|
|
||||||
#define BTN_EN1 P1_18
|
#define BTN_EN1 P1_18
|
||||||
|
@ -244,6 +254,7 @@
|
||||||
#define LCD_PINS_D4 P1_21
|
#define LCD_PINS_D4 P1_21
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
#define BTN_ENC P0_28 // (58) open-drain
|
||||||
#define LCD_PINS_RS P1_19
|
#define LCD_PINS_RS P1_19
|
||||||
|
|
||||||
#define BTN_EN1 P3_26 // (31) J3-2 & AUX-4
|
#define BTN_EN1 P3_26 // (31) J3-2 & AUX-4
|
||||||
|
|
Reference in a new issue