Fix FYSETC, MINIPANEL, MKS_MINI_12864 display (#13864)
This commit is contained in:
parent
93dcb537ef
commit
39ebca6b5f
@ -107,12 +107,16 @@
|
||||
// Generic support for SSD1309 OLED I2C LCDs
|
||||
#define U8G_CLASS U8GLIB_SSD1309_128X64
|
||||
#define U8G_PARAM (U8G_I2C_OPT_NONE | U8G_I2C_OPT_FAST)
|
||||
#elif EITHER(MINIPANEL, FYSETC_MINI_12864)
|
||||
// The MINIPanel display
|
||||
#elif ENABLED(MINIPANEL)
|
||||
// MINIPanel display
|
||||
//#define U8G_CLASS U8GLIB_MINI12864
|
||||
//#define U8G_PARAM DOGLCD_CS, DOGLCD_A0 // 8 stripes
|
||||
#define U8G_CLASS U8GLIB_MINI12864_2X
|
||||
#define U8G_PARAM DOGLCD_CS, DOGLCD_A0 // 8 stripes
|
||||
#elif ENABLED(FYSETC_MINI_12864)
|
||||
// The FYSETC_MINI_12864 display
|
||||
#define U8G_CLASS U8GLIB_MINI12864_2X_HAL
|
||||
#if BOTH(FYSETC_MINI_12864, FORCE_SOFT_SPI)
|
||||
#if ENABLED(FORCE_SOFT_SPI)
|
||||
#define U8G_PARAM DOGLCD_SCK, DOGLCD_MOSI, DOGLCD_CS, DOGLCD_A0 // 4 stripes SW-SPI
|
||||
#else
|
||||
#define U8G_PARAM DOGLCD_CS, DOGLCD_A0 // 4 stripes HW-SPI
|
||||
|
Loading…
Reference in New Issue
Block a user