Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SKR mini E2 V2 + BTT_MINI_12864_V1 display #24827

Merged
merged 6 commits into from
Nov 27, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2823,6 +2823,8 @@

//
// BigTreeTech Mini 12864 V1.0 is an alias for FYSETC_MINI_12864_2_1. Type A/B. NeoPixel RGB Backlight.
// If the display lights up but does not show characters, edit the parameter in the file: Marlin\src\lcd\dogm\marlinui_DOGM.cpp
// change parameter: void MarlinUI::_set_contrast() { u8g.setContrast(contrast); } change to: void MarlinUI::_set_contrast() { u8g.setContrast(255); }
radek8 marked this conversation as resolved.
Show resolved Hide resolved
//
//#define BTT_MINI_12864_V1

Expand Down
18 changes: 9 additions & 9 deletions Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@
*
* --- ------
* RST | 1 | (MISO) |10 9 | SCK
* (RX2) PA2 | 2 | BTN_EN1 | 8 7 | (SS)
* (TX2) PA3 | 3 | BTN_EN2 | 6 5 | MOSI
* (RX2) PA3 | 2 | BTN_EN1 | 8 7 | (SS)
* (TX2) PA2 | 3 | BTN_EN2 | 6 5 | MOSI
* GND | 4 | (CD) | 4 3 | (RST)
* 5V | 5 | (GND) | 2 1 | (KILL)
* --- ------
Expand All @@ -285,24 +285,24 @@
* EXP1-8 ----------- EXP2-6 EN2
* EXP1-7 ----------- EXP1-5 RED
* EXP1-6 ----------- EXP2-8 EN1
* EXP1-5 ----------- EXP1-6 LCD_RST
* EXP1-4 ----------- n/c
* EXP1-5 ----------- n/c
* EXP1-4 ----------- EXP2-3 RESET
* EXP1-3 ----------- EXP1-8 LCD_CS
* EXP1-2 ----------- EXP1-9 ENC
* EXP1-1 ----------- EXP1-7 LCD_A0
*
* TFT-2 ----------- EXP2-9 SCK
* TFT-3 ----------- EXP2-5 MOSI
* TFT-2 ----------- EXP2-5 SCK
* TFT-3 ----------- EXP2-9 MOSI
*
* for backlight configuration see steps 2 (V2.1) and 3 in https://wiki.fysetc.com/Mini12864_Panel/
*/

#define LCD_PINS_RS EXP1_03_PIN // CS
#define LCD_PINS_ENABLE PA3 // MOSI
radek8 marked this conversation as resolved.
Show resolved Hide resolved
//#define LCD_PINS_RS EXP1_03_PIN // CS
//#define LCD_PINS_ENABLE PA3 // MOSI
#define LCD_BACKLIGHT_PIN -1
#define NEOPIXEL_PIN EXP1_07_PIN
#define LCD_CONTRAST 255
#define LCD_RESET_PIN EXP1_05_PIN
//#define LCD_RESET_PIN EXP1_05_PIN

#define DOGLCD_CS EXP1_03_PIN
#define DOGLCD_A0 EXP1_01_PIN
Expand Down