瀏覽代碼

📌 Custom cable for Mini 12864 V1 + SKR Mini E3 V3.0 (#23936)

Oleg Belov 2 年之前
父節點
當前提交
d189cda616
No account linked to committer's email address
共有 1 個文件被更改,包括 44 次插入1 次删除
  1. 44
    1
      Marlin/src/pins/stm32g0/pins_BTT_SKR_MINI_E3_V3_0.h

+ 44
- 1
Marlin/src/pins/stm32g0/pins_BTT_SKR_MINI_E3_V3_0.h 查看文件

@@ -256,8 +256,51 @@
256 256
 
257 257
     #endif
258 258
 
259
+  #elif ENABLED(FYSETC_MINI_12864_2_1)
260
+
261
+      #error "CAUTION! FYSETC_MINI_12864_2_1 and clones require wiring modifications. See 'pins_BTT_SKR_MINI_E3_V3_0.h' for details. Comment out this line to continue."
262
+
263
+      /**
264
+       *
265
+       *                 Board                               Display
266
+       *                 ------                               ------
267
+       *    (EN2)  PB5  |10  9 | PA15(BTN_ENC)            5V |10  9 | GND
268
+       *  (LCD_CS) PA9  | 8  7 | RST (RESET)              -- | 8  7 | --
269
+       *  (LCD_A0) PA10 |#6  5 | PB9 (EN1)            (DIN)  | 6  5#| (RESET)
270
+       *  (LCD_SCK)PB8  | 4  3 | PD6 (MOSI)         (LCD_A0) | 4  3 | (LCD_CS)
271
+       *            GND | 2  1 | 5V                (BTN_ENC) | 2  1 | --
272
+       *                 ------                               ------
273
+       *                  EXP1                                 EXP1
274
+       *
275
+       *                                                      ------
276
+       *                                                  -- |10  9 | --
277
+       *                   ---                       (RESET) | 8  7 | --
278
+       *                  | 3 |                      (MOSI)  | 6  5#| (EN2)
279
+       *                  | 2 | (DIN)                     -- | 4  3 | (EN1)
280
+       *                  | 1 |                     (LCD_SCK)| 2  1 | --
281
+       *                   ---                                ------
282
+       *                Neopixel                               EXP2
283
+       *
284
+       * Needs custom cable. Connect EN2-EN2, LCD_CS-LCD_CS and so on.
285
+       *
286
+       * Check twice index position!!! (marked as # here)
287
+       * On BTT boards pins from IDC10 connector are numbered in unusual order.
288
+       */
289
+    #define BTN_ENC                  EXP1_09_PIN
290
+    #define BTN_EN1                         PB9
291
+    #define BTN_EN2                         PB5
292
+    #define BEEPER_PIN                      -1
293
+
294
+    #define DOGLCD_CS                       PA9
295
+    #define DOGLCD_A0                       PA10
296
+    #define DOGLCD_SCK                      PB8
297
+    #define DOGLCD_MOSI                     PD6
298
+
299
+    #define FORCE_SOFT_SPI
300
+    #define LCD_BACKLIGHT_PIN               -1
301
+
259 302
   #else
260
-    #error "Only CR10_STOCKDISPLAY, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, and TFTGLCD_PANEL_(SPI|I2C) are currently supported on the BIGTREE_SKR_MINI_E3."
303
+    #error "Only CR10_STOCKDISPLAY, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, FYSETC_MINI_12864_2_1, and TFTGLCD_PANEL_(SPI|I2C) are currently supported on the BIGTREE_SKR_MINI_E3."
261 304
   #endif
262 305
 
263 306
 #endif // HAS_WIRED_LCD

Loading…
取消
儲存