Skip to content

Commit

Permalink
♻️ Migrate IS_RRD_FG_SC
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Apr 8, 2023
1 parent 76ecb3a commit 423e612
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
21 changes: 21 additions & 0 deletions Marlin/src/pins/pins_lcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,27 @@
#define SD_DETECT_PIN AUX2_08
#endif

#elif IS_RRD_FG_SC && !defined(LCD_PINS_EN)

// RepRap Discount Full Graphics Smart Controller and compatible

#define BEEPER_PIN EXP1_01_PIN

#define BTN_ENC EXP1_02_PIN
#define BTN_EN1 EXP2_05_PIN
#define BTN_EN2 EXP2_03_PIN

#define LCD_PINS_EN EXP1_03_PIN
#define LCD_PINS_RS EXP1_04_PIN
#define LCD_PINS_D4 EXP1_05_PIN

#ifndef SDSS
#define SDSS EXP2_04_PIN
#endif
#ifndef SD_DETECT_PIN
#define SD_DETECT_PIN EXP2_07_PIN
#endif

#else

// More displays to come
Expand Down
18 changes: 0 additions & 18 deletions Marlin/src/pins/sanguino/pins_ANET_10.h
Original file line number Diff line number Diff line change
Expand Up @@ -260,24 +260,6 @@

#endif

/**
* ====================================================================
* =============== Alternative RepRapDiscount Wiring ==================
* ====================================================================
*
* An alternative wiring scheme for the RepRapDiscount Full Graphics Display is
* published by oderwat on Thingiverse at https://www.thingiverse.com/thing:2103748.
*
* Using that adapter requires changing the pin definition as follows:
* #define SERVO0_PIN 27 // free for BLTouch/3D-Touch
* #define BEEPER_PIN 28
* #define LCD_PINS_RS 30
* #define LCD_PINS_EN 29
* #define LCD_PINS_D4 17
*
* The BLTouch pin becomes LCD:3
*/

/**
* ====================================================================
* ===================== LCD PINOUTS ==================================
Expand Down

0 comments on commit 423e612

Please sign in to comment.