|
@@ -74,40 +74,40 @@
|
74
|
74
|
#define HEATER_1_PIN 8 // EXTRUDER 2
|
75
|
75
|
#define HEATER_BED_PIN 3 // BED
|
76
|
76
|
|
|
77
|
+/**
|
|
78
|
+ * Controllers and LCDs
|
|
79
|
+ */
|
77
|
80
|
#define BEEPER_PIN -1
|
78
|
81
|
|
79
|
|
-#if ENABLED(DOGLCD)
|
|
82
|
+#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
80
|
83
|
|
81
|
|
- #if ENABLED(U8GLIB_ST7920)
|
82
|
|
- #define LCD_PINS_RS 15 //CS chip select /SS chip slave select
|
83
|
|
- #define LCD_PINS_ENABLE 11 //SID (MOSI)
|
84
|
|
- #define LCD_PINS_D4 10 //SCK (CLK) clock
|
|
84
|
+ #define LCD_PINS_RS 15 // CS chip select /SS chip slave select
|
|
85
|
+ #define LCD_PINS_ENABLE 11 // SID (MOSI)
|
|
86
|
+ #define LCD_PINS_D4 10 // SCK (CLK) clock
|
85
|
87
|
|
86
|
|
- #define BTN_EN1 18
|
87
|
|
- #define BTN_EN2 17
|
88
|
|
- #define BTN_ENC 25
|
|
88
|
+ #define BTN_EN1 18
|
|
89
|
+ #define BTN_EN2 17
|
|
90
|
+ #define BTN_ENC 25
|
89
|
91
|
|
90
|
|
- #define SD_DETECT_PIN 30
|
91
|
|
- #endif
|
|
92
|
+ #define SD_DETECT_PIN 30
|
92
|
93
|
|
93
|
94
|
#else
|
94
|
95
|
|
95
|
|
- #define LCD_PINS_RS -1
|
|
96
|
+ #define LCD_PINS_RS -1
|
96
|
97
|
#define LCD_PINS_ENABLE -1
|
97
|
|
- #define LCD_PINS_D4 -1
|
98
|
|
- #define LCD_PINS_D5 -1
|
99
|
|
- #define LCD_PINS_D6 -1
|
100
|
|
- #define LCD_PINS_D7 -1
|
|
98
|
+ #define LCD_PINS_D4 -1
|
|
99
|
+ #define LCD_PINS_D5 -1
|
|
100
|
+ #define LCD_PINS_D6 -1
|
|
101
|
+ #define LCD_PINS_D7 -1
|
101
|
102
|
|
102
|
103
|
// Buttons are directly attached using keypad
|
103
|
|
- #define BTN_EN1 -1
|
104
|
|
- #define BTN_EN2 -1
|
105
|
|
- #define BTN_ENC -1
|
|
104
|
+ #define BTN_EN1 -1
|
|
105
|
+ #define BTN_EN2 -1
|
|
106
|
+ #define BTN_ENC -1
|
106
|
107
|
|
107
|
108
|
#define BLEN_C 2
|
108
|
109
|
#define BLEN_B 1
|
109
|
110
|
#define BLEN_A 0
|
110
|
111
|
|
111
|
112
|
#define SD_DETECT_PIN -1 // Minitronics doesn't use this
|
112
|
|
-
|
113
|
113
|
#endif
|