🎨 LCD_SCREEN_ROT_* => LCD_SCREEN_ROTATE

This commit is contained in:
Scott Lahteine
2022-01-19 03:27:10 -06:00
parent 8ea172cafe
commit 1d0ca179b5
25 changed files with 72 additions and 106 deletions

View File

@ -178,7 +178,6 @@
// Pins for DOGM SPI LCD Support
#define DOGLCD_A0 PC12 // 44
#define DOGLCD_CS PC13 // 45
#define LCD_SCREEN_ROT_180
#define BTN_EN1 PB6 // 22
#define BTN_EN2 PA7 // 7
@ -192,6 +191,8 @@
#define STAT_LED_RED_PIN PC0 // 32
#define STAT_LED_BLUE_PIN PC3 // 35
#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
#define BTN_EN1 PC3 // 35
#define BTN_EN2 PC5 // 37
@ -214,11 +215,7 @@
#define SDSS PD5 // 53
#define KILL_PIN PE0 // 64
// GLCD features
// Uncomment screen orientation
//#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270
// The encoder and click button
#define BTN_EN1 PC8 // 40
#define BTN_EN2 PD15 // 63
@ -226,6 +223,8 @@
// not connected to a pin
#define SD_DETECT_PIN PD1 // 49
//#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
#else
// Beeper on AUX-4

View File

@ -166,9 +166,7 @@
#endif
//#define LCD_CONTRAST_INIT 190
//#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270
//#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
#endif

View File

@ -163,13 +163,11 @@
#define DOGLCD_CS EXP1_04_PIN
#define DOGLCD_SCK EXP1_05_PIN
#define DOGLCD_MOSI EXP1_03_PIN
//#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270
#if EITHER(FYSETC_MINI_12864, U8GLIB_ST7920)
#define FORCE_SOFT_SPI
#endif
//#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
#endif
#define LCD_PINS_RS EXP1_04_PIN // CS -- SOFT SPI for ENDER3 LCD

View File

@ -326,7 +326,7 @@
#if SD_CONNECTION_IS(ONBOARD)
#define FORCE_SOFT_SPI
#endif
//#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
#else // !MKS_MINI_12864

View File

@ -207,7 +207,7 @@
#define DOGLCD_SCK EXP2_09_PIN
#define FORCE_SOFT_SPI
#define SOFTWARE_SPI
//#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
#else

View File

@ -352,7 +352,7 @@
#if SD_CONNECTION_IS(ONBOARD)
#define FORCE_SOFT_SPI
#endif
//#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
#else // !MKS_MINI_12864