Skip to content

Commit d189cda

Browse files
authored
📌 Custom cable for Mini 12864 V1 + SKR Mini E3 V3.0 (MarlinFirmware#23936)
1 parent e119d9b commit d189cda

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

Marlin/src/pins/stm32g0/pins_BTT_SKR_MINI_E3_V3_0.h

+44-1
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,51 @@
256256

257257
#endif
258258

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+
259302
#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."
261304
#endif
262305

263306
#endif // HAS_WIRED_LCD

0 commit comments

Comments
 (0)