Ver código fonte

Define ANET_FULL_GRAPHICS_LCD pins for SKR 1.4 (#16928)

ZMiguel Alves 4 anos atrás
pai
commit
2471a8bb91
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 13 adições e 2 exclusões
  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 Ver arquivo

232
  *              EXP2                                              EXP1
232
  *              EXP2                                              EXP1
233
  */
233
  */
234
 #if HAS_SPI_LCD
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
     #define LCD_PINS_RS    P1_22
248
     #define LCD_PINS_RS    P1_22
239
 
249
 
240
     #define BTN_EN1        P1_18
250
     #define BTN_EN1        P1_18
244
     #define LCD_PINS_D4    P1_21
254
     #define LCD_PINS_D4    P1_21
245
 
255
 
246
   #else
256
   #else
257
+    #define BTN_ENC        P0_28   // (58) open-drain
247
     #define LCD_PINS_RS    P1_19
258
     #define LCD_PINS_RS    P1_19
248
 
259
 
249
     #define BTN_EN1        P3_26   // (31) J3-2 & AUX-4
260
     #define BTN_EN1        P3_26   // (31) J3-2 & AUX-4

Carregando…
Cancelar
Salvar