|
|
@ -186,8 +186,9 @@
|
|
|
|
U8GLIB_LM6059_2X u8g(DOGLCD_CS, DOGLCD_A0); // 4 stripes
|
|
|
|
U8GLIB_LM6059_2X u8g(DOGLCD_CS, DOGLCD_A0); // 4 stripes
|
|
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(U8GLIB_ST7565_64128N)
|
|
|
|
#elif ENABLED(U8GLIB_ST7565_64128N)
|
|
|
|
// The MaKrPanel, Mini Viki, and Viki 2.0, ST7565 controller
|
|
|
|
// The MaKrPanel, Mini Viki, Viki 2.0 & AZSMZ 12864 ST7565 controller
|
|
|
|
#if DOGLCD_SCK == SCK_PIN && DOGLCD_MOSI == MOSI_PIN
|
|
|
|
#define SMART_RAMPS (MB(RAMPS_SMART_EFB) || MB(RAMPS_SMART_EEB) || MB(RAMPS_SMART_EFF) || MB(RAMPS_SMART_EEF) || MB(RAMPS_SMART_SF))
|
|
|
|
|
|
|
|
#if DOGLCD_SCK == SCK_PIN && DOGLCD_MOSI == MOSI_PIN && !SMART_RAMPS
|
|
|
|
U8GLIB_64128N_2X_HAL u8g(DOGLCD_CS, DOGLCD_A0); // using HW-SPI
|
|
|
|
U8GLIB_64128N_2X_HAL u8g(DOGLCD_CS, DOGLCD_A0); // using HW-SPI
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
U8GLIB_64128N_2X_HAL u8g(DOGLCD_SCK, DOGLCD_MOSI, DOGLCD_CS, DOGLCD_A0); // using SW-SPI
|
|
|
|
U8GLIB_64128N_2X_HAL u8g(DOGLCD_SCK, DOGLCD_MOSI, DOGLCD_CS, DOGLCD_A0); // using SW-SPI
|
|
|
|