Adding support for using the MKS_12864OLED with the SSD1306 controller

This commit is contained in:
Dan Delaney
2017-12-16 17:44:34 -06:00
parent e8d3ea803d
commit df8420aa62
7 changed files with 25 additions and 8 deletions

View File

@@ -76,7 +76,7 @@
#undef E1_CS_PIN
#if ENABLED(ULTRA_LCD) && DISABLED(REPRAPWORLD_GRAPHICAL_LCD) && (DISABLED(NEWPANEL) || DISABLED(PANEL_ONE)) && DISABLED(CR10_STOCKDISPLAY)
#if DISABLED(MKS_12864OLED)
#if DISABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
#undef LCD_PINS_RS
#define LCD_PINS_RS 42 // 3DYMY boards pin 16 -> 42
#undef LCD_PINS_ENABLE