SAMD51: Update LCD pins (#14907)

2.0.x
Giuliano Zaro 5 years ago committed by Scott Lahteine
parent 9479ec32f7
commit 3129fd06f0

@ -172,32 +172,35 @@
#if EITHER(RADDS_DISPLAY, REPRAP_DISCOUNT_SMART_CONTROLLER) #if EITHER(RADDS_DISPLAY, REPRAP_DISCOUNT_SMART_CONTROLLER)
#define BEEPER_PIN 75 #error "Pin compatibility check needed!"
#define BEEPER_PIN 54
#define LCD_PINS_D4 48 #define LCD_PINS_D4 48
#define LCD_PINS_D7 53 #define LCD_PINS_D7 53
#define SD_DETECT_PIN -1 // 51 can't be used, it's MOSI #define SD_DETECT_PIN -1 // 51 can't be used, it's MOSI
#define LCD_PINS_RS 76 #define LCD_PINS_RS 55
#define LCD_PINS_ENABLE 77 #define LCD_PINS_ENABLE 56
#elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) #elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BEEPER_PIN 75 #define BEEPER_PIN 54
#define LCD_PINS_D4 48 #define LCD_PINS_D4 48
#define SD_DETECT_PIN -1 // 51 can't be used, it's MOSI #define SD_DETECT_PIN -1 // 51 can't be used, it's MOSI
#define LCD_PINS_RS 76 #define LCD_PINS_RS 55
#define LCD_PINS_ENABLE 77 #define LCD_PINS_ENABLE 56
#elif HAS_SSD1306_OLED_I2C #elif HAS_SSD1306_OLED_I2C
#define BEEPER_PIN 75 #error "Pin compatibility check needed!"
#define BEEPER_PIN 54
#define LCD_SDSS 10 #define LCD_SDSS 10
#define SD_DETECT_PIN -1 // 51 can't be used, it's MOSI #define SD_DETECT_PIN -1 // 51 can't be used, it's MOSI
#elif ENABLED(FYSETC_MINI_12864) #elif ENABLED(FYSETC_MINI_12864)
#define BEEPER_PIN 75 #error "Pin compatibility check needed!"
#define DOGLCD_CS 77 #define BEEPER_PIN 54
#define DOGLCD_A0 76 #define DOGLCD_CS 56
#define DOGLCD_A0 55
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems //#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
// results in LCD soft SPI mode 3, SD soft SPI mode 0 // results in LCD soft SPI mode 3, SD soft SPI mode 0

Loading…
Cancel
Save