Define ANET_FULL_GRAPHICS_LCD pins for SKR 1.4 (#16928)

2.0.x
ZMiguel Alves 5 years ago committed by GitHub
parent 7bf3581b02
commit 2471a8bb91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)
#define LCD_PINS_RS P1_23
#define BTN_EN1 P1_20
#define BTN_EN2 P1_22
#define BTN_ENC P1_18
#if ENABLED(CR10_STOCKDISPLAY) #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

Loading…
Cancel
Save