[2.0.x] Adding support for using the MKS_12864OLED with the SSD1306 controller (#8814)

* Adding support for using the MKS_12864OLED with the SSD1306 controller

* Update comment for correct controller type
This commit is contained in:
Dan Delaney
2017-12-16 18:47:04 -06:00
committed by Scott Lahteine
parent 2690ce7a96
commit b055d8c39c
6 changed files with 26 additions and 8 deletions

View File

@ -339,7 +339,7 @@
#else
#if ENABLED(MKS_12864OLED)
#if ENABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
#define LCD_PINS_DC 25 // Set as output on init
#define LCD_PINS_RS 27 // Pull low for 1s to init
// DOGM SPI LCD Support

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