File tree 2 files changed +14
-7
lines changed
2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 358
358
#define BEEPER_PIN EXP1_01_PIN
359
359
360
360
#elif ENABLED (CR10_STOCKDISPLAY )
361
- #define BTN_ENC EXP1_02_PIN // (58) open-drain
362
361
#define LCD_PINS_RS EXP1_07_PIN
363
362
364
363
#define BTN_EN1 EXP1_03_PIN
365
364
#define BTN_EN2 EXP1_05_PIN
365
+ #define BTN_ENC EXP1_02_PIN
366
366
367
367
#define LCD_PINS_ENABLE EXP1_08_PIN
368
368
#define LCD_PINS_D4 EXP1_06_PIN
Original file line number Diff line number Diff line change 43
43
#endif
44
44
45
45
//
46
- // For the stock CR-10 enable CR10_STOCKDISPLAY in Configuration.h
46
+ // LCD / Controller
47
47
//
48
- #if ENABLED (CR10_STOCKDISPLAY )
49
- #define LCD_SDSS 31 // Smart Controller SD card reader (rather than the Melzi)
50
- #define LCD_PINS_RS 28 // ST9720 CS
51
- #define LCD_PINS_ENABLE 17 // ST9720 DAT
52
- #define LCD_PINS_D4 30 // ST9720 CLK
48
+ #if ANY (MKS_MINI_12864 , CR10_STOCKDISPLAY , ENDER2_STOCKDISPLAY )
49
+ #if ENABLED (CR10_STOCKDISPLAY )
50
+ #define LCD_PINS_RS 28 // ST9720 CS
51
+ #define LCD_PINS_ENABLE 17 // ST9720 DAT
52
+ #define LCD_PINS_D4 30 // ST9720 CLK
53
+ #elif EITHER (MKS_MINI_12864 , ENDER2_STOCKDISPLAY )
54
+ #define DOGLCD_CS 28
55
+ #define DOGLCD_A0 30
56
+ #endif
57
+
58
+ #define LCD_SDSS 31 // Controller's SD card
53
59
54
60
#define BTN_ENC 16
55
61
#define BTN_EN1 11
56
62
#define BTN_EN2 10
57
63
#define BEEPER_PIN 27
58
64
59
65
#define LCD_PINS_DEFINED
66
+
60
67
#endif
61
68
62
69
#include "pins_MELZI.h" // ... SANGUINOLOLU_12 ... SANGUINOLOLU_11
You can’t perform that action at this time.
0 commit comments