Kaynağa Gözat

Define ANET_FULL_GRAPHICS_LCD pins for SKR 1.4 (#16928)

ZMiguel Alves 4 yıl önce
ebeveyn
işleme
2471a8bb91
No account linked to committer's email address
1 değiştirilmiş dosya ile 13 ekleme ve 2 silme
  1. 13
    2
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h

+ 13
- 2
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h Dosyayı Görüntüle

@@ -232,9 +232,19 @@
232 232
  *              EXP2                                              EXP1
233 233
  */
234 234
 #if HAS_SPI_LCD
235
-  #define BTN_ENC          P0_28   // (58) open-drain
235
+  #if ENABLED(ANET_FULL_GRAPHICS_LCD)
236 236
 
237
-  #if ENABLED(CR10_STOCKDISPLAY)
237
+    #define LCD_PINS_RS    P1_23
238
+
239
+    #define BTN_EN1        P1_20
240
+    #define BTN_EN2        P1_22
241
+    #define BTN_ENC        P1_18
242
+
243
+    #define LCD_PINS_ENABLE P1_21
244
+    #define LCD_PINS_D4    P1_19
245
+
246
+  #elif ENABLED(CR10_STOCKDISPLAY)
247
+    #define BTN_ENC        P0_28   // (58) open-drain
238 248
     #define LCD_PINS_RS    P1_22
239 249
 
240 250
     #define BTN_EN1        P1_18
@@ -244,6 +254,7 @@
244 254
     #define LCD_PINS_D4    P1_21
245 255
 
246 256
   #else
257
+    #define BTN_ENC        P0_28   // (58) open-drain
247 258
     #define LCD_PINS_RS    P1_19
248 259
 
249 260
     #define BTN_EN1        P3_26   // (31) J3-2 & AUX-4

Loading…
İptal
Kaydet