|
@@ -145,13 +145,16 @@
|
145
|
145
|
*
|
146
|
146
|
* Only the following displays are supported:
|
147
|
147
|
* ZONESTAR_LCD
|
148
|
|
- * ANET_FULL_GRAPHICS_LCD
|
|
148
|
+ * ANET_FULL_GRAPHICS_LCD(_ALT_WIRING)?
|
149
|
149
|
* REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
150
|
150
|
*/
|
151
|
151
|
|
152
|
152
|
#if HAS_WIRED_LCD
|
|
153
|
+
|
153
|
154
|
#define LCD_SDSS 28
|
|
155
|
+
|
154
|
156
|
#if HAS_ADC_BUTTONS
|
|
157
|
+
|
155
|
158
|
#define SERVO0_PIN 27 // free for BLTouch/3D-Touch
|
156
|
159
|
#define LCD_PINS_RS 28
|
157
|
160
|
#define LCD_PINS_ENABLE 29
|
|
@@ -160,26 +163,49 @@
|
160
|
163
|
#define LCD_PINS_D6 16
|
161
|
164
|
#define LCD_PINS_D7 17
|
162
|
165
|
#define ADC_KEYPAD_PIN 1
|
|
166
|
+
|
163
|
167
|
#elif IS_RRD_FG_SC
|
|
168
|
+
|
164
|
169
|
// Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics
|
165
|
170
|
// display using an adapter board // https://go.aisler.net/benlye/anet-lcd-adapter/pcb
|
166
|
171
|
// See below for alternative pin definitions for use with https://www.thingiverse.com/thing:2103748
|
167
|
|
- #define SERVO0_PIN 29 // free for BLTouch/3D-Touch
|
168
|
|
- #define BEEPER_PIN 17
|
169
|
|
- #define LCD_PINS_RS 27
|
170
|
|
- #define LCD_PINS_ENABLE 28
|
171
|
|
- #define LCD_PINS_D4 30
|
172
|
|
- #define BTN_EN1 11
|
173
|
|
- #define BTN_EN2 10
|
174
|
|
- #define BTN_ENC 16
|
175
|
|
- #define BOARD_ST7920_DELAY_1 DELAY_NS(0)
|
176
|
|
- #define BOARD_ST7920_DELAY_2 DELAY_NS(63)
|
177
|
|
- #define BOARD_ST7920_DELAY_3 DELAY_NS(125)
|
178
|
|
- #define STD_ENCODER_PULSES_PER_STEP 4
|
179
|
|
- #define STD_ENCODER_STEPS_PER_MENU_ITEM 1
|
|
172
|
+
|
|
173
|
+ #if ENABLED(ANET_FULL_GRAPHICS_LCD_ALT_WIRING)
|
|
174
|
+ #define SERVO0_PIN 30
|
|
175
|
+ #define BEEPER_PIN 27
|
|
176
|
+ #define LCD_PINS_RS 29
|
|
177
|
+ #define LCD_PINS_ENABLE 16
|
|
178
|
+ #define LCD_PINS_D4 11
|
|
179
|
+ #define BTN_EN1 28
|
|
180
|
+ #define BTN_EN2 10
|
|
181
|
+ #define BTN_ENC 17
|
|
182
|
+ #define BOARD_ST7920_DELAY_1 DELAY_NS(250)
|
|
183
|
+ #define BOARD_ST7920_DELAY_2 DELAY_NS(250)
|
|
184
|
+ #define BOARD_ST7920_DELAY_3 DELAY_NS(250)
|
|
185
|
+ #else
|
|
186
|
+ #define SERVO0_PIN 29 // free for BLTouch/3D-Touch
|
|
187
|
+ #define BEEPER_PIN 17
|
|
188
|
+ #define LCD_PINS_RS 27
|
|
189
|
+ #define LCD_PINS_ENABLE 28
|
|
190
|
+ #define LCD_PINS_D4 30
|
|
191
|
+ #define BTN_EN1 11
|
|
192
|
+ #define BTN_EN2 10
|
|
193
|
+ #define BTN_ENC 16
|
|
194
|
+ #define BOARD_ST7920_DELAY_1 DELAY_NS(0)
|
|
195
|
+ #define BOARD_ST7920_DELAY_2 DELAY_NS(63)
|
|
196
|
+ #define BOARD_ST7920_DELAY_3 DELAY_NS(125)
|
|
197
|
+ #endif
|
|
198
|
+
|
180
|
199
|
#endif
|
|
200
|
+
|
181
|
201
|
#else
|
|
202
|
+
|
182
|
203
|
#define SERVO0_PIN 27
|
|
204
|
+
|
|
205
|
+#endif
|
|
206
|
+
|
|
207
|
+#ifndef FIL_RUNOUT_PIN
|
|
208
|
+ #define FIL_RUNOUT_PIN SERVO0_PIN
|
183
|
209
|
#endif
|
184
|
210
|
|
185
|
211
|
/**
|