Patches to prepare REPRAPWORLD_GRAPHICAL_LCD
This commit is contained in:
@ -106,26 +106,17 @@
|
||||
|
||||
#define BEEPER_PIN 61
|
||||
|
||||
|
||||
|
||||
|
||||
#if ENABLED(DOGLCD)
|
||||
|
||||
#if ENABLED(U8GLIB_ST7920)
|
||||
|
||||
#define LCD_PINS_RS 56 //CS chip select /SS chip slave select
|
||||
#define LCD_PINS_ENABLE 51 //SID (MOSI)
|
||||
#define LCD_PINS_D4 52 //SCK (CLK) clock
|
||||
|
||||
#define BTN_EN1 44
|
||||
#define BTN_EN2 45
|
||||
#define BTN_ENC 33
|
||||
|
||||
|
||||
#define SD_DETECT_PIN 35
|
||||
#endif
|
||||
#if ENABLED(U8GLIB_ST7920)
|
||||
#define LCD_PINS_RS 56 //CS chip select /SS chip slave select
|
||||
#define LCD_PINS_ENABLE 51 //SID (MOSI)
|
||||
#define LCD_PINS_D4 52 //SCK (CLK) clock
|
||||
#define SD_DETECT_PIN 35
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#define LCD_PINS_RS 32
|
||||
#define LCD_PINS_ENABLE 31
|
||||
#define LCD_PINS_D4 14
|
||||
@ -137,25 +128,16 @@
|
||||
#define SHIFT_LD 35
|
||||
#define SHIFT_OUT 34
|
||||
#define SHIFT_EN 44
|
||||
//buttons are directly attached using keypad
|
||||
#define BTN_EN1 44
|
||||
#define BTN_EN2 45
|
||||
#define BTN_ENC 33 //the click
|
||||
|
||||
#define BLEN_C 2
|
||||
#define BLEN_B 1
|
||||
#define BLEN_A 0
|
||||
|
||||
#define SD_DETECT_PIN 56 // Megatronics v3.1 only
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
// Buttons are directly attached using keypad
|
||||
#define BTN_EN1 44
|
||||
#define BTN_EN2 45
|
||||
#define BTN_ENC 33 // the click
|
||||
#define BTN_ENC 33
|
||||
|
||||
#define BLEN_C 2
|
||||
#define BLEN_B 1
|
||||
#define BLEN_A 0
|
||||
|
||||
|
Reference in New Issue
Block a user