Skip to content

Commit e3dd99e

Browse files
committed
♻️ Migrate IS_RRD_FG_SC
1 parent a736f28 commit e3dd99e

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

Marlin/src/pins/pins_lcd.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,27 @@
193193
#define SD_DETECT_PIN AUX2_08
194194
#endif
195195

196+
#elif IS_RRD_FG_SC && !defined(LCD_PINS_EN)
197+
198+
// RepRap Discount Full Graphics Smart Controller and compatible
199+
200+
#define BEEPER_PIN EXP1_01_PIN
201+
202+
#define BTN_ENC EXP1_02_PIN
203+
#define BTN_EN1 EXP2_05_PIN
204+
#define BTN_EN2 EXP2_03_PIN
205+
206+
#define LCD_PINS_EN EXP1_03_PIN
207+
#define LCD_PINS_RS EXP1_04_PIN
208+
#define LCD_PINS_D4 EXP1_05_PIN
209+
210+
#ifndef SDSS
211+
#define SDSS EXP2_04_PIN
212+
#endif
213+
#ifndef SD_DETECT_PIN
214+
#define SD_DETECT_PIN EXP2_07_PIN
215+
#endif
216+
196217
#else
197218

198219
// More displays to come

Marlin/src/pins/sanguino/pins_ANET_10.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -260,24 +260,6 @@
260260

261261
#endif
262262

263-
/**
264-
* ====================================================================
265-
* =============== Alternative RepRapDiscount Wiring ==================
266-
* ====================================================================
267-
*
268-
* An alternative wiring scheme for the RepRapDiscount Full Graphics Display is
269-
* published by oderwat on Thingiverse at https://www.thingiverse.com/thing:2103748.
270-
*
271-
* Using that adapter requires changing the pin definition as follows:
272-
* #define SERVO0_PIN 27 // free for BLTouch/3D-Touch
273-
* #define BEEPER_PIN 28
274-
* #define LCD_PINS_RS 30
275-
* #define LCD_PINS_EN 29
276-
* #define LCD_PINS_D4 17
277-
*
278-
* The BLTouch pin becomes LCD:3
279-
*/
280-
281263
/**
282264
* ====================================================================
283265
* ===================== LCD PINOUTS ==================================

0 commit comments

Comments
 (0)