@ -164,14 +164,14 @@
// LCD selection
# if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
# ifdef CPU_32_BIT // SPI too fast with 32bit?
# ifdef CPU_32_BIT
U8GLIB_ST7920_128X64_4X u8g ( LCD_PINS_D4 , LCD_PINS_ENABLE , LCD_PINS_RS ) ; // Original u8glib device. 2 stripes, SW SPI
# else
U8GLIB_ST7920_128X64_4X u8g ( LCD_PINS_RS ) ; // 2 stripes, HW SPI
U8GLIB_ST7920_128X64_4X u8g ( LCD_PINS_RS ) ; // 2 stripes, HW SPI (shared with SD card)
# endif
# elif ENABLED(U8GLIB_ST7920)
// RepRap Discount Full Graphics Smart Controller
//U8GLIB_ST7920_128X64_4X u8g(LCD_PINS_RS); // 2 stripes, HW SPI
//U8GLIB_ST7920_128X64_4X u8g(LCD_PINS_RS); // 2 stripes, HW SPI (shared with SD card, on AVR does not use standard LCD adapter)
//U8GLIB_ST7920_128X64_4X u8g(LCD_PINS_D4, LCD_PINS_ENABLE, LCD_PINS_RS); // Original u8glib device. 2 stripes, SW SPI
U8GLIB_ST7920_128X64_RRD u8g ( LCD_PINS_D4 , LCD_PINS_ENABLE , LCD_PINS_RS ) ; // Number of stripes can be adjusted in ultralcd_st7920_u8glib_rrd.h with PAGE_HEIGHT
// AVR version ignores these pin settings
@ -192,9 +192,8 @@
# elif ENABLED(U8GLIB_SSD1306)
// Generic support for SSD1306 OLED I2C LCDs
//U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST); // 8 stripes
U8GLIB_SSD1306_128X64_2X_I2C_2_WIRE u8g ( U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST ) ; // 4 stripes
//U8GLIB_SSD1306_128X64_2X u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST); // 4 stripes
//U8GLIB_SSD1306_128X64_2X_I2C_2_WIRE u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST); // 4 stripes
U8GLIB_SSD1306_128X64_2X u8g ( U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST ) ; // 4 stripes
# elif ENABLED(MKS_12864OLED)
// MKS 128x64 (SH1106) OLED I2C LCD
@ -202,9 +201,8 @@
//U8GLIB_SH1106_128X64_2X u8g(DOGLCD_SCK, DOGLCD_MOSI, DOGLCD_CS, DOGLCD_A0); // 4 stripes
# elif ENABLED(U8GLIB_SH1106)
// Generic support for SH1106 OLED I2C LCDs
//U8GLIB_SH1106_128X64 u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST); // 8 stripes
U8GLIB_SH1106_128X64_2X_I2C_2_WIRE u8g ( U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST ) ; // 4 stripes
//U8GLIB_SH1106_128X64_2X u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST); // 4 stripes
//U8GLIB_SH1106_128X64_2X_I2C_2_WIRE u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST); // 4 stripes
U8GLIB_SH1106_128X64_2X u8g ( U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST ) ; // 4 stripes
# elif ENABLED(MINIPANEL)
// The MINIPanel display
//U8GLIB_MINI12864 u8g(DOGLCD_CS, DOGLCD_A0); // 8 stripes