Skip to content

Commit

Permalink
Define ANET_FULL_GRAPHICS_LCD pins for SKR 1.4 (MarlinFirmware#16928)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmiguel authored Feb 23, 2020
1 parent 7bf3581 commit 2471a8b
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,19 @@
* EXP2 EXP1
*/
#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 BTN_EN1 P1_18
Expand All @@ -244,6 +254,7 @@
#define LCD_PINS_D4 P1_21

#else
#define BTN_ENC P0_28 // (58) open-drain
#define LCD_PINS_RS P1_19

#define BTN_EN1 P3_26 // (31) J3-2 & AUX-4
Expand Down

0 comments on commit 2471a8b

Please sign in to comment.