From e767429628d6853a89b0d96bf57cc0d954480f64 Mon Sep 17 00:00:00 2001 From: shitcreek Date: Mon, 5 Aug 2019 23:06:25 -0500 Subject: [PATCH] Fix missing tenmperature icon for LCM1602 and smaller LCD's Using CUSTOM_LCD_SIZE condition --- Marlin/Configuration.h | 7 +++++++ Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp | 6 +++++- config/default/Configuration.h | 7 +++++++ config/examples/3DFabXYZ/Migbot/Configuration.h | 7 +++++++ config/examples/AlephObjects/TAZ4/Configuration.h | 7 +++++++ config/examples/Alfawise/U20/Configuration.h | 7 +++++++ config/examples/AliExpress/CL-260/Configuration.h | 7 +++++++ config/examples/AliExpress/UM2pExt/Configuration.h | 7 +++++++ config/examples/Anet/A2/Configuration.h | 7 +++++++ config/examples/Anet/A2plus/Configuration.h | 7 +++++++ config/examples/Anet/A6/Configuration.h | 7 +++++++ config/examples/Anet/A8/Configuration.h | 7 +++++++ config/examples/Anet/A8plus/Configuration.h | 7 +++++++ config/examples/Anet/E16/Configuration.h | 7 +++++++ config/examples/AnyCubic/i3/Configuration.h | 7 +++++++ config/examples/ArmEd/Configuration.h | 7 +++++++ config/examples/Azteeg/X5GT/Configuration.h | 7 +++++++ config/examples/BIBO/TouchX/cyclops/Configuration.h | 7 +++++++ config/examples/BIBO/TouchX/default/Configuration.h | 7 +++++++ config/examples/BQ/Hephestos/Configuration.h | 7 +++++++ config/examples/BQ/Hephestos_2/Configuration.h | 7 +++++++ config/examples/BQ/WITBOX/Configuration.h | 7 +++++++ config/examples/Cartesio/Configuration.h | 7 +++++++ config/examples/Creality/CR-10/Configuration.h | 7 +++++++ config/examples/Creality/CR-10S/Configuration.h | 7 +++++++ config/examples/Creality/CR-10_5S/Configuration.h | 7 +++++++ config/examples/Creality/CR-10mini/Configuration.h | 7 +++++++ config/examples/Creality/CR-20 Pro/Configuration.h | 7 +++++++ config/examples/Creality/CR-20/Configuration.h | 7 +++++++ config/examples/Creality/CR-8/Configuration.h | 7 +++++++ config/examples/Creality/Ender-2/Configuration.h | 7 +++++++ config/examples/Creality/Ender-3/Configuration.h | 7 +++++++ config/examples/Creality/Ender-4/Configuration.h | 7 +++++++ config/examples/Creality/Ender-5/Configuration.h | 7 +++++++ config/examples/Dagoma/Disco Ultimate/Configuration.h | 7 +++++++ .../EVNOVO (Artillery)/Sidewinder X1/Configuration.h | 7 +++++++ config/examples/Einstart-S/Configuration.h | 7 +++++++ config/examples/FYSETC/AIO_II/Configuration.h | 7 +++++++ config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h | 7 +++++++ config/examples/FYSETC/Cheetah 1.2/base/Configuration.h | 7 +++++++ config/examples/FYSETC/Cheetah/BLTouch/Configuration.h | 7 +++++++ config/examples/FYSETC/Cheetah/base/Configuration.h | 7 +++++++ config/examples/FYSETC/F6_13/Configuration.h | 7 +++++++ config/examples/Felix/Configuration.h | 7 +++++++ config/examples/Felix/DUAL/Configuration.h | 7 +++++++ config/examples/FlashForge/CreatorPro/Configuration.h | 7 +++++++ config/examples/FolgerTech/i3-2020/Configuration.h | 7 +++++++ config/examples/Formbot/Raptor/Configuration.h | 7 +++++++ config/examples/Formbot/T_Rex_2+/Configuration.h | 7 +++++++ config/examples/Formbot/T_Rex_3/Configuration.h | 7 +++++++ config/examples/Geeetech/A10/Configuration.h | 7 +++++++ config/examples/Geeetech/A10M/Configuration.h | 7 +++++++ config/examples/Geeetech/A20M/Configuration.h | 7 +++++++ config/examples/Geeetech/GT2560/Configuration.h | 7 +++++++ config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h | 7 +++++++ config/examples/Geeetech/MeCreator2/Configuration.h | 7 +++++++ .../Geeetech/Prusa i3 Pro B/bltouch/Configuration.h | 7 +++++++ .../Geeetech/Prusa i3 Pro B/noprobe/Configuration.h | 7 +++++++ config/examples/Geeetech/Prusa i3 Pro C/Configuration.h | 7 +++++++ config/examples/Geeetech/Prusa i3 Pro W/Configuration.h | 7 +++++++ config/examples/Infitary/i3-M508/Configuration.h | 7 +++++++ config/examples/JGAurora/A1/Configuration.h | 7 +++++++ config/examples/JGAurora/A5/Configuration.h | 7 +++++++ config/examples/JGAurora/A5S/Configuration.h | 7 +++++++ config/examples/MakerParts/Configuration.h | 7 +++++++ config/examples/Malyan/M150/Configuration.h | 7 +++++++ config/examples/Malyan/M200/Configuration.h | 7 +++++++ config/examples/Micromake/C1/basic/Configuration.h | 7 +++++++ config/examples/Micromake/C1/enhanced/Configuration.h | 7 +++++++ config/examples/Mks/Robin/Configuration.h | 7 +++++++ config/examples/Mks/Sbase/Configuration.h | 7 +++++++ config/examples/Printrbot/PrintrboardG2/Configuration.h | 7 +++++++ config/examples/RapideLite/RL200/Configuration.h | 7 +++++++ config/examples/RepRapPro/Huxley/Configuration.h | 7 +++++++ config/examples/RepRapWorld/Megatronics/Configuration.h | 7 +++++++ config/examples/RigidBot/Configuration.h | 7 +++++++ config/examples/SCARA/Configuration.h | 7 +++++++ config/examples/STM32/Black_STM32F407VET6/Configuration.h | 7 +++++++ config/examples/STM32/STM32F10/Configuration.h | 7 +++++++ config/examples/STM32/STM32F4/Configuration.h | 7 +++++++ config/examples/STM32/stm32f103ret6/Configuration.h | 7 +++++++ config/examples/Sanguinololu/Configuration.h | 7 +++++++ config/examples/Tevo/Michelangelo/Configuration.h | 7 +++++++ config/examples/Tevo/Tarantula Pro/Configuration.h | 7 +++++++ config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration.h | 7 +++++++ .../examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration.h | 7 +++++++ config/examples/TheBorg/Configuration.h | 7 +++++++ config/examples/TinyBoy2/Configuration.h | 7 +++++++ config/examples/Tronxy/X1/Configuration.h | 7 +++++++ config/examples/Tronxy/X3A/Configuration.h | 7 +++++++ config/examples/Tronxy/X5S-2E/Configuration.h | 7 +++++++ config/examples/Tronxy/X5S/Configuration.h | 7 +++++++ config/examples/Tronxy/XY100/Configuration.h | 7 +++++++ config/examples/UltiMachine/Archim1/Configuration.h | 7 +++++++ config/examples/UltiMachine/Archim2/Configuration.h | 7 +++++++ config/examples/VORONDesign/Configuration.h | 7 +++++++ config/examples/Velleman/K8200/Configuration.h | 7 +++++++ config/examples/Velleman/K8400/Configuration.h | 7 +++++++ config/examples/Velleman/K8400/Dual-head/Configuration.h | 7 +++++++ config/examples/WASP/PowerWASP/Configuration.h | 7 +++++++ config/examples/Wanhao/Duplicator 6/Configuration.h | 7 +++++++ config/examples/Wanhao/Duplicator i3 Mini/Configuration.h | 7 +++++++ config/examples/adafruit/ST7565/Configuration.h | 7 +++++++ config/examples/delta/Anycubic/Kossel/Configuration.h | 7 +++++++ config/examples/delta/FLSUN/auto_calibrate/Configuration.h | 7 +++++++ config/examples/delta/FLSUN/kossel/Configuration.h | 7 +++++++ config/examples/delta/FLSUN/kossel_mini/Configuration.h | 7 +++++++ config/examples/delta/Geeetech/Rostock 301/Configuration.h | 7 +++++++ config/examples/delta/Hatchbox_Alpha/Configuration.h | 7 +++++++ config/examples/delta/MKS/SBASE/Configuration.h | 7 +++++++ config/examples/delta/Tevo Little Monster/Configuration.h | 7 +++++++ config/examples/delta/generic/Configuration.h | 7 +++++++ config/examples/delta/kossel_mini/Configuration.h | 7 +++++++ config/examples/delta/kossel_pro/Configuration.h | 7 +++++++ config/examples/delta/kossel_xl/Configuration.h | 7 +++++++ config/examples/gCreate/gMax1.5+/Configuration.h | 7 +++++++ config/examples/makibox/Configuration.h | 7 +++++++ config/examples/tvrrug/Round2/Configuration.h | 7 +++++++ config/examples/wt150/Configuration.h | 7 +++++++ 119 files changed, 831 insertions(+), 1 deletion(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 2744d43b1535..5a117fbfb82d 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp b/Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp index b40aab6e09f9..f6a6ef6501ab 100644 --- a/Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp +++ b/Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp @@ -750,7 +750,11 @@ void MarlinUI::draw_status_screen() { // // Hotend 0 Temperature // - _draw_heater_status(H_E0, -1, blink); + #if ENABLED(CUSTOM_LCD_SIZE) + _draw_heater_status(H_E0, LCD_STR_THERMOMETER[0], blink); + #else + _draw_heater_status(H_E0, -1, blink); + #endif // // Hotend 1 or Bed Temperature diff --git a/config/default/Configuration.h b/config/default/Configuration.h index 2744d43b1535..5a117fbfb82d 100644 --- a/config/default/Configuration.h +++ b/config/default/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/3DFabXYZ/Migbot/Configuration.h b/config/examples/3DFabXYZ/Migbot/Configuration.h index 72a38c7519ca..2bd072765408 100644 --- a/config/examples/3DFabXYZ/Migbot/Configuration.h +++ b/config/examples/3DFabXYZ/Migbot/Configuration.h @@ -2008,6 +2008,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/AlephObjects/TAZ4/Configuration.h b/config/examples/AlephObjects/TAZ4/Configuration.h index 3a78a9164f88..ac78cc2e30e8 100644 --- a/config/examples/AlephObjects/TAZ4/Configuration.h +++ b/config/examples/AlephObjects/TAZ4/Configuration.h @@ -1997,6 +1997,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Alfawise/U20/Configuration.h b/config/examples/Alfawise/U20/Configuration.h index 5316ac4c0c6a..df73dcc5677e 100644 --- a/config/examples/Alfawise/U20/Configuration.h +++ b/config/examples/Alfawise/U20/Configuration.h @@ -2068,6 +2068,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/AliExpress/CL-260/Configuration.h b/config/examples/AliExpress/CL-260/Configuration.h index cc5fc2de989c..cc1f5f1f17cb 100644 --- a/config/examples/AliExpress/CL-260/Configuration.h +++ b/config/examples/AliExpress/CL-260/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/AliExpress/UM2pExt/Configuration.h b/config/examples/AliExpress/UM2pExt/Configuration.h index 896150c28e59..f2351bd00983 100644 --- a/config/examples/AliExpress/UM2pExt/Configuration.h +++ b/config/examples/AliExpress/UM2pExt/Configuration.h @@ -1988,6 +1988,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Anet/A2/Configuration.h b/config/examples/Anet/A2/Configuration.h index 5043f6826366..32581428f323 100644 --- a/config/examples/Anet/A2/Configuration.h +++ b/config/examples/Anet/A2/Configuration.h @@ -1979,6 +1979,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Anet/A2plus/Configuration.h b/config/examples/Anet/A2plus/Configuration.h index 10710ca9dd11..dacd636ad45f 100644 --- a/config/examples/Anet/A2plus/Configuration.h +++ b/config/examples/Anet/A2plus/Configuration.h @@ -1979,6 +1979,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Anet/A6/Configuration.h b/config/examples/Anet/A6/Configuration.h index 7f3103b4deb0..840acfa51897 100644 --- a/config/examples/Anet/A6/Configuration.h +++ b/config/examples/Anet/A6/Configuration.h @@ -2130,6 +2130,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Anet/A8/Configuration.h b/config/examples/Anet/A8/Configuration.h index ecd11e1b5a63..4bb4808e60e9 100644 --- a/config/examples/Anet/A8/Configuration.h +++ b/config/examples/Anet/A8/Configuration.h @@ -1992,6 +1992,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Anet/A8plus/Configuration.h b/config/examples/Anet/A8plus/Configuration.h index 1a468840753f..89c22fdaa9c7 100644 --- a/config/examples/Anet/A8plus/Configuration.h +++ b/config/examples/Anet/A8plus/Configuration.h @@ -1988,6 +1988,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Anet/E16/Configuration.h b/config/examples/Anet/E16/Configuration.h index 9a41b9476419..27ce88613db1 100644 --- a/config/examples/Anet/E16/Configuration.h +++ b/config/examples/Anet/E16/Configuration.h @@ -1989,6 +1989,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/AnyCubic/i3/Configuration.h b/config/examples/AnyCubic/i3/Configuration.h index 2617490f2da6..c70b1a109075 100644 --- a/config/examples/AnyCubic/i3/Configuration.h +++ b/config/examples/AnyCubic/i3/Configuration.h @@ -1987,6 +1987,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/ArmEd/Configuration.h b/config/examples/ArmEd/Configuration.h index 4a951432087d..4285e06023b1 100644 --- a/config/examples/ArmEd/Configuration.h +++ b/config/examples/ArmEd/Configuration.h @@ -1978,6 +1978,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Azteeg/X5GT/Configuration.h b/config/examples/Azteeg/X5GT/Configuration.h index 13b6bfd10751..40793b007c60 100644 --- a/config/examples/Azteeg/X5GT/Configuration.h +++ b/config/examples/Azteeg/X5GT/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/BIBO/TouchX/cyclops/Configuration.h b/config/examples/BIBO/TouchX/cyclops/Configuration.h index 4eea9611d247..5a24160d8a31 100644 --- a/config/examples/BIBO/TouchX/cyclops/Configuration.h +++ b/config/examples/BIBO/TouchX/cyclops/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/BIBO/TouchX/default/Configuration.h b/config/examples/BIBO/TouchX/default/Configuration.h index 942030381cb4..9c6502093c18 100644 --- a/config/examples/BIBO/TouchX/default/Configuration.h +++ b/config/examples/BIBO/TouchX/default/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/BQ/Hephestos/Configuration.h b/config/examples/BQ/Hephestos/Configuration.h index e4088ad112f2..ede7b456afa3 100644 --- a/config/examples/BQ/Hephestos/Configuration.h +++ b/config/examples/BQ/Hephestos/Configuration.h @@ -1965,6 +1965,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/BQ/Hephestos_2/Configuration.h b/config/examples/BQ/Hephestos_2/Configuration.h index 5deedb2cd790..8b8b5aa05f04 100644 --- a/config/examples/BQ/Hephestos_2/Configuration.h +++ b/config/examples/BQ/Hephestos_2/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/BQ/WITBOX/Configuration.h b/config/examples/BQ/WITBOX/Configuration.h index 32a53cec7b7a..a88ec03a13f9 100644 --- a/config/examples/BQ/WITBOX/Configuration.h +++ b/config/examples/BQ/WITBOX/Configuration.h @@ -1965,6 +1965,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Cartesio/Configuration.h b/config/examples/Cartesio/Configuration.h index 05142d8ab81e..20f2cbd1851c 100644 --- a/config/examples/Cartesio/Configuration.h +++ b/config/examples/Cartesio/Configuration.h @@ -1976,6 +1976,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/CR-10/Configuration.h b/config/examples/Creality/CR-10/Configuration.h index caaf96e13f25..98755bea23d3 100644 --- a/config/examples/Creality/CR-10/Configuration.h +++ b/config/examples/Creality/CR-10/Configuration.h @@ -1987,6 +1987,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/CR-10S/Configuration.h b/config/examples/Creality/CR-10S/Configuration.h index b3f8f667b478..ae75909a970f 100644 --- a/config/examples/Creality/CR-10S/Configuration.h +++ b/config/examples/Creality/CR-10S/Configuration.h @@ -1978,6 +1978,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/CR-10_5S/Configuration.h b/config/examples/Creality/CR-10_5S/Configuration.h index 5ae4f2cb186b..eedc9926cf51 100644 --- a/config/examples/Creality/CR-10_5S/Configuration.h +++ b/config/examples/Creality/CR-10_5S/Configuration.h @@ -1980,6 +1980,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/CR-10mini/Configuration.h b/config/examples/Creality/CR-10mini/Configuration.h index e90f053d217f..886bda946782 100644 --- a/config/examples/Creality/CR-10mini/Configuration.h +++ b/config/examples/Creality/CR-10mini/Configuration.h @@ -1996,6 +1996,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/CR-20 Pro/Configuration.h b/config/examples/Creality/CR-20 Pro/Configuration.h index ef0a822fa991..f2f38b4c8201 100644 --- a/config/examples/Creality/CR-20 Pro/Configuration.h +++ b/config/examples/Creality/CR-20 Pro/Configuration.h @@ -1980,6 +1980,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/CR-20/Configuration.h b/config/examples/Creality/CR-20/Configuration.h index b2bda3c25024..83683efc577c 100644 --- a/config/examples/Creality/CR-20/Configuration.h +++ b/config/examples/Creality/CR-20/Configuration.h @@ -1980,6 +1980,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/CR-8/Configuration.h b/config/examples/Creality/CR-8/Configuration.h index d7279c3c2461..1fab17f056a4 100644 --- a/config/examples/Creality/CR-8/Configuration.h +++ b/config/examples/Creality/CR-8/Configuration.h @@ -1987,6 +1987,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/Ender-2/Configuration.h b/config/examples/Creality/Ender-2/Configuration.h index 10d2b959dd8c..fd865f959093 100644 --- a/config/examples/Creality/Ender-2/Configuration.h +++ b/config/examples/Creality/Ender-2/Configuration.h @@ -1981,6 +1981,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/Ender-3/Configuration.h b/config/examples/Creality/Ender-3/Configuration.h index 24ada1036984..9a8ab2b3bea6 100644 --- a/config/examples/Creality/Ender-3/Configuration.h +++ b/config/examples/Creality/Ender-3/Configuration.h @@ -1981,6 +1981,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/Ender-4/Configuration.h b/config/examples/Creality/Ender-4/Configuration.h index bf52448c170c..65c653c7c45e 100644 --- a/config/examples/Creality/Ender-4/Configuration.h +++ b/config/examples/Creality/Ender-4/Configuration.h @@ -1987,6 +1987,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Creality/Ender-5/Configuration.h b/config/examples/Creality/Ender-5/Configuration.h index 7290d3c3c928..08fbe9658e5f 100644 --- a/config/examples/Creality/Ender-5/Configuration.h +++ b/config/examples/Creality/Ender-5/Configuration.h @@ -1980,6 +1980,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Dagoma/Disco Ultimate/Configuration.h b/config/examples/Dagoma/Disco Ultimate/Configuration.h index 086e254d871f..6c790f4093a1 100644 --- a/config/examples/Dagoma/Disco Ultimate/Configuration.h +++ b/config/examples/Dagoma/Disco Ultimate/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h b/config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h index ebfaea4b8a66..da502073fd32 100755 --- a/config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h +++ b/config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h @@ -1982,6 +1982,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Einstart-S/Configuration.h b/config/examples/Einstart-S/Configuration.h index 3c34ac16937e..4465ea88e239 100644 --- a/config/examples/Einstart-S/Configuration.h +++ b/config/examples/Einstart-S/Configuration.h @@ -1987,6 +1987,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/FYSETC/AIO_II/Configuration.h b/config/examples/FYSETC/AIO_II/Configuration.h index 039af73bff16..726970dbe2b8 100644 --- a/config/examples/FYSETC/AIO_II/Configuration.h +++ b/config/examples/FYSETC/AIO_II/Configuration.h @@ -1982,6 +1982,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h b/config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h index 2d53de4a56d1..501dcbb4325a 100644 --- a/config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h +++ b/config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h @@ -1983,6 +1983,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/FYSETC/Cheetah 1.2/base/Configuration.h b/config/examples/FYSETC/Cheetah 1.2/base/Configuration.h index 60dd4a069f7a..61caf97e6e42 100644 --- a/config/examples/FYSETC/Cheetah 1.2/base/Configuration.h +++ b/config/examples/FYSETC/Cheetah 1.2/base/Configuration.h @@ -1982,6 +1982,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/FYSETC/Cheetah/BLTouch/Configuration.h b/config/examples/FYSETC/Cheetah/BLTouch/Configuration.h index 4508637ecdfe..f80a97e6d7b7 100644 --- a/config/examples/FYSETC/Cheetah/BLTouch/Configuration.h +++ b/config/examples/FYSETC/Cheetah/BLTouch/Configuration.h @@ -2002,6 +2002,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + // // Overlord OLED display/controller with i2c buzzer and LEDs // diff --git a/config/examples/FYSETC/Cheetah/base/Configuration.h b/config/examples/FYSETC/Cheetah/base/Configuration.h index 32cbd2f0a42f..fd3f27073a78 100644 --- a/config/examples/FYSETC/Cheetah/base/Configuration.h +++ b/config/examples/FYSETC/Cheetah/base/Configuration.h @@ -1982,6 +1982,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/FYSETC/F6_13/Configuration.h b/config/examples/FYSETC/F6_13/Configuration.h index da991ed98697..da4c3efb5fee 100644 --- a/config/examples/FYSETC/F6_13/Configuration.h +++ b/config/examples/FYSETC/F6_13/Configuration.h @@ -1979,6 +1979,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Felix/Configuration.h b/config/examples/Felix/Configuration.h index 40c9a2fb9dea..91518de2c777 100644 --- a/config/examples/Felix/Configuration.h +++ b/config/examples/Felix/Configuration.h @@ -1959,6 +1959,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Felix/DUAL/Configuration.h b/config/examples/Felix/DUAL/Configuration.h index 410c533730e3..3e759eef53b0 100644 --- a/config/examples/Felix/DUAL/Configuration.h +++ b/config/examples/Felix/DUAL/Configuration.h @@ -1959,6 +1959,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/FlashForge/CreatorPro/Configuration.h b/config/examples/FlashForge/CreatorPro/Configuration.h index 180ba94ba0e2..dddaa3fa4683 100644 --- a/config/examples/FlashForge/CreatorPro/Configuration.h +++ b/config/examples/FlashForge/CreatorPro/Configuration.h @@ -1968,6 +1968,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/FolgerTech/i3-2020/Configuration.h b/config/examples/FolgerTech/i3-2020/Configuration.h index 6db4614280c6..5c18476699bf 100644 --- a/config/examples/FolgerTech/i3-2020/Configuration.h +++ b/config/examples/FolgerTech/i3-2020/Configuration.h @@ -1983,6 +1983,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Formbot/Raptor/Configuration.h b/config/examples/Formbot/Raptor/Configuration.h index c12737412131..50b75df4556c 100644 --- a/config/examples/Formbot/Raptor/Configuration.h +++ b/config/examples/Formbot/Raptor/Configuration.h @@ -2082,6 +2082,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Formbot/T_Rex_2+/Configuration.h b/config/examples/Formbot/T_Rex_2+/Configuration.h index ff82069ab876..9f705e70d7b5 100644 --- a/config/examples/Formbot/T_Rex_2+/Configuration.h +++ b/config/examples/Formbot/T_Rex_2+/Configuration.h @@ -2011,6 +2011,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Formbot/T_Rex_3/Configuration.h b/config/examples/Formbot/T_Rex_3/Configuration.h index ca14491baf46..57474f6df12a 100644 --- a/config/examples/Formbot/T_Rex_3/Configuration.h +++ b/config/examples/Formbot/T_Rex_3/Configuration.h @@ -2005,6 +2005,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Geeetech/A10/Configuration.h b/config/examples/Geeetech/A10/Configuration.h index 7e0fb6b8bf44..cbb5f3c14c44 100644 --- a/config/examples/Geeetech/A10/Configuration.h +++ b/config/examples/Geeetech/A10/Configuration.h @@ -1962,6 +1962,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Geeetech/A10M/Configuration.h b/config/examples/Geeetech/A10M/Configuration.h index 6dec6f844b50..0a7c463b561c 100644 --- a/config/examples/Geeetech/A10M/Configuration.h +++ b/config/examples/Geeetech/A10M/Configuration.h @@ -1962,6 +1962,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Geeetech/A20M/Configuration.h b/config/examples/Geeetech/A20M/Configuration.h index 702017db7336..dcb111c54ebc 100644 --- a/config/examples/Geeetech/A20M/Configuration.h +++ b/config/examples/Geeetech/A20M/Configuration.h @@ -1964,6 +1964,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Geeetech/GT2560/Configuration.h b/config/examples/Geeetech/GT2560/Configuration.h index b79a7b2310cf..13546bcd8c1d 100644 --- a/config/examples/Geeetech/GT2560/Configuration.h +++ b/config/examples/Geeetech/GT2560/Configuration.h @@ -1992,6 +1992,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h b/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h index 7c5102b70423..b8c703e43d72 100644 --- a/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h +++ b/config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Geeetech/MeCreator2/Configuration.h b/config/examples/Geeetech/MeCreator2/Configuration.h index c89d38099531..9a6699f79776 100644 --- a/config/examples/Geeetech/MeCreator2/Configuration.h +++ b/config/examples/Geeetech/MeCreator2/Configuration.h @@ -1984,6 +1984,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h b/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h index 287178a539ed..78068777d9b8 100644 --- a/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h +++ b/config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h @@ -1998,6 +1998,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h b/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h index 62c8da63dc96..0c5b0d4d21fd 100644 --- a/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h +++ b/config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h @@ -1997,6 +1997,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h b/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h index 1b905488f525..ceefe52d4d74 100644 --- a/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h +++ b/config/examples/Geeetech/Prusa i3 Pro C/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h b/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h index 924bb67f944b..5fe0a4a42ac2 100644 --- a/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h +++ b/config/examples/Geeetech/Prusa i3 Pro W/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Infitary/i3-M508/Configuration.h b/config/examples/Infitary/i3-M508/Configuration.h index d60bdece1b88..a7125cdade5e 100644 --- a/config/examples/Infitary/i3-M508/Configuration.h +++ b/config/examples/Infitary/i3-M508/Configuration.h @@ -1981,6 +1981,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/JGAurora/A1/Configuration.h b/config/examples/JGAurora/A1/Configuration.h index 43436a4e4fd5..2e4375bfd4df 100644 --- a/config/examples/JGAurora/A1/Configuration.h +++ b/config/examples/JGAurora/A1/Configuration.h @@ -1985,6 +1985,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/JGAurora/A5/Configuration.h b/config/examples/JGAurora/A5/Configuration.h index 0fbcf2ec0d5f..0ec813c3909c 100644 --- a/config/examples/JGAurora/A5/Configuration.h +++ b/config/examples/JGAurora/A5/Configuration.h @@ -1989,6 +1989,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/JGAurora/A5S/Configuration.h b/config/examples/JGAurora/A5S/Configuration.h index 898d333ca6e3..1b600e763ea6 100644 --- a/config/examples/JGAurora/A5S/Configuration.h +++ b/config/examples/JGAurora/A5S/Configuration.h @@ -1985,6 +1985,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/MakerParts/Configuration.h b/config/examples/MakerParts/Configuration.h index 4700d5878a27..72060f5d5d5b 100644 --- a/config/examples/MakerParts/Configuration.h +++ b/config/examples/MakerParts/Configuration.h @@ -1997,6 +1997,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Malyan/M150/Configuration.h b/config/examples/Malyan/M150/Configuration.h index 890b8d4c7b22..9cecd14df42d 100644 --- a/config/examples/Malyan/M150/Configuration.h +++ b/config/examples/Malyan/M150/Configuration.h @@ -2005,6 +2005,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Malyan/M200/Configuration.h b/config/examples/Malyan/M200/Configuration.h index 39fbccdaf705..279c10f772cf 100644 --- a/config/examples/Malyan/M200/Configuration.h +++ b/config/examples/Malyan/M200/Configuration.h @@ -1976,6 +1976,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Micromake/C1/basic/Configuration.h b/config/examples/Micromake/C1/basic/Configuration.h index 44fc963c8fb4..e2c9db8dba47 100644 --- a/config/examples/Micromake/C1/basic/Configuration.h +++ b/config/examples/Micromake/C1/basic/Configuration.h @@ -1981,6 +1981,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Micromake/C1/enhanced/Configuration.h b/config/examples/Micromake/C1/enhanced/Configuration.h index 9a2867bc3f13..c5b4b2dadf64 100644 --- a/config/examples/Micromake/C1/enhanced/Configuration.h +++ b/config/examples/Micromake/C1/enhanced/Configuration.h @@ -1981,6 +1981,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Mks/Robin/Configuration.h b/config/examples/Mks/Robin/Configuration.h index b8d3e6028852..e26fbdec1c4e 100644 --- a/config/examples/Mks/Robin/Configuration.h +++ b/config/examples/Mks/Robin/Configuration.h @@ -1979,6 +1979,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Mks/Sbase/Configuration.h b/config/examples/Mks/Sbase/Configuration.h index e9c7159e53e9..15100a7fbf34 100644 --- a/config/examples/Mks/Sbase/Configuration.h +++ b/config/examples/Mks/Sbase/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Printrbot/PrintrboardG2/Configuration.h b/config/examples/Printrbot/PrintrboardG2/Configuration.h index d6085cf86b4a..06cd4127c42b 100644 --- a/config/examples/Printrbot/PrintrboardG2/Configuration.h +++ b/config/examples/Printrbot/PrintrboardG2/Configuration.h @@ -1985,6 +1985,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/RapideLite/RL200/Configuration.h b/config/examples/RapideLite/RL200/Configuration.h index c54e613948ad..d8bf618d12ba 100644 --- a/config/examples/RapideLite/RL200/Configuration.h +++ b/config/examples/RapideLite/RL200/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/RepRapPro/Huxley/Configuration.h b/config/examples/RepRapPro/Huxley/Configuration.h index 62a91b1b5049..18b64255def0 100644 --- a/config/examples/RepRapPro/Huxley/Configuration.h +++ b/config/examples/RepRapPro/Huxley/Configuration.h @@ -2026,6 +2026,13 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/RepRapWorld/Megatronics/Configuration.h b/config/examples/RepRapWorld/Megatronics/Configuration.h index 1d84a576673b..51caff69e3e7 100644 --- a/config/examples/RepRapWorld/Megatronics/Configuration.h +++ b/config/examples/RepRapWorld/Megatronics/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/RigidBot/Configuration.h b/config/examples/RigidBot/Configuration.h index 413bf07ff68e..ab68fc97c96c 100644 --- a/config/examples/RigidBot/Configuration.h +++ b/config/examples/RigidBot/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/SCARA/Configuration.h b/config/examples/SCARA/Configuration.h index cbd0e8930127..7c837b7b326d 100644 --- a/config/examples/SCARA/Configuration.h +++ b/config/examples/SCARA/Configuration.h @@ -1986,6 +1986,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/STM32/Black_STM32F407VET6/Configuration.h b/config/examples/STM32/Black_STM32F407VET6/Configuration.h index 017a763e1796..f6c03892e55c 100644 --- a/config/examples/STM32/Black_STM32F407VET6/Configuration.h +++ b/config/examples/STM32/Black_STM32F407VET6/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/STM32/STM32F10/Configuration.h b/config/examples/STM32/STM32F10/Configuration.h index 1ea7b3636e19..616875635231 100644 --- a/config/examples/STM32/STM32F10/Configuration.h +++ b/config/examples/STM32/STM32F10/Configuration.h @@ -1979,6 +1979,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/STM32/STM32F4/Configuration.h b/config/examples/STM32/STM32F4/Configuration.h index b5171a41af4d..57ee9739c308 100644 --- a/config/examples/STM32/STM32F4/Configuration.h +++ b/config/examples/STM32/STM32F4/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/STM32/stm32f103ret6/Configuration.h b/config/examples/STM32/stm32f103ret6/Configuration.h index 8a09ecc75d0b..f110c6518e5a 100644 --- a/config/examples/STM32/stm32f103ret6/Configuration.h +++ b/config/examples/STM32/stm32f103ret6/Configuration.h @@ -1979,6 +1979,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Sanguinololu/Configuration.h b/config/examples/Sanguinololu/Configuration.h index bd7d65d97bd0..659779066aa4 100644 --- a/config/examples/Sanguinololu/Configuration.h +++ b/config/examples/Sanguinololu/Configuration.h @@ -2008,6 +2008,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Tevo/Michelangelo/Configuration.h b/config/examples/Tevo/Michelangelo/Configuration.h index 71849a7c8539..f44aa160f111 100644 --- a/config/examples/Tevo/Michelangelo/Configuration.h +++ b/config/examples/Tevo/Michelangelo/Configuration.h @@ -1982,6 +1982,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Tevo/Tarantula Pro/Configuration.h b/config/examples/Tevo/Tarantula Pro/Configuration.h index d8e320226425..cd8182467cae 100644 --- a/config/examples/Tevo/Tarantula Pro/Configuration.h +++ b/config/examples/Tevo/Tarantula Pro/Configuration.h @@ -1975,6 +1975,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration.h b/config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration.h index 1b6648a8f5c8..e81657fdd7c3 100644 --- a/config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration.h +++ b/config/examples/Tevo/Tornado/V1 (MKS Base)/Configuration.h @@ -1982,6 +1982,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration.h b/config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration.h index 73088c938f0b..fdd02730de63 100644 --- a/config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration.h +++ b/config/examples/Tevo/Tornado/V2 (MKS GEN-L)/Configuration.h @@ -1982,6 +1982,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/TheBorg/Configuration.h b/config/examples/TheBorg/Configuration.h index 72e55c5f6364..95b686ac189a 100644 --- a/config/examples/TheBorg/Configuration.h +++ b/config/examples/TheBorg/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/TinyBoy2/Configuration.h b/config/examples/TinyBoy2/Configuration.h index 74d71e45f30f..744b93da551d 100644 --- a/config/examples/TinyBoy2/Configuration.h +++ b/config/examples/TinyBoy2/Configuration.h @@ -2033,6 +2033,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Tronxy/X1/Configuration.h b/config/examples/Tronxy/X1/Configuration.h index 40f36f0b0b2e..5c85927fee18 100644 --- a/config/examples/Tronxy/X1/Configuration.h +++ b/config/examples/Tronxy/X1/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Tronxy/X3A/Configuration.h b/config/examples/Tronxy/X3A/Configuration.h index 3bc50c851f52..5fb99213643e 100644 --- a/config/examples/Tronxy/X3A/Configuration.h +++ b/config/examples/Tronxy/X3A/Configuration.h @@ -1981,6 +1981,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Tronxy/X5S-2E/Configuration.h b/config/examples/Tronxy/X5S-2E/Configuration.h index ac5465eed752..5338dba2089c 100644 --- a/config/examples/Tronxy/X5S-2E/Configuration.h +++ b/config/examples/Tronxy/X5S-2E/Configuration.h @@ -1998,6 +1998,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Tronxy/X5S/Configuration.h b/config/examples/Tronxy/X5S/Configuration.h index 9727dae89da7..cdbecde0a349 100644 --- a/config/examples/Tronxy/X5S/Configuration.h +++ b/config/examples/Tronxy/X5S/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Tronxy/XY100/Configuration.h b/config/examples/Tronxy/XY100/Configuration.h index 113327327daf..f03fe1db9ffa 100644 --- a/config/examples/Tronxy/XY100/Configuration.h +++ b/config/examples/Tronxy/XY100/Configuration.h @@ -1988,6 +1988,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/UltiMachine/Archim1/Configuration.h b/config/examples/UltiMachine/Archim1/Configuration.h index 0e1493bf6639..84f5ed94467e 100644 --- a/config/examples/UltiMachine/Archim1/Configuration.h +++ b/config/examples/UltiMachine/Archim1/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/UltiMachine/Archim2/Configuration.h b/config/examples/UltiMachine/Archim2/Configuration.h index babab7bd43ae..833dea646f55 100644 --- a/config/examples/UltiMachine/Archim2/Configuration.h +++ b/config/examples/UltiMachine/Archim2/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/VORONDesign/Configuration.h b/config/examples/VORONDesign/Configuration.h index 072932261af5..c552652808da 100644 --- a/config/examples/VORONDesign/Configuration.h +++ b/config/examples/VORONDesign/Configuration.h @@ -1986,6 +1986,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Velleman/K8200/Configuration.h b/config/examples/Velleman/K8200/Configuration.h index a67195e5e63d..b30f93138ba9 100644 --- a/config/examples/Velleman/K8200/Configuration.h +++ b/config/examples/Velleman/K8200/Configuration.h @@ -2010,6 +2010,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + #endif // K8200_VM8201 // diff --git a/config/examples/Velleman/K8400/Configuration.h b/config/examples/Velleman/K8400/Configuration.h index 2671f81e12cb..16a5670d7e6d 100644 --- a/config/examples/Velleman/K8400/Configuration.h +++ b/config/examples/Velleman/K8400/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Velleman/K8400/Dual-head/Configuration.h b/config/examples/Velleman/K8400/Dual-head/Configuration.h index ee191b328485..33411893d028 100644 --- a/config/examples/Velleman/K8400/Dual-head/Configuration.h +++ b/config/examples/Velleman/K8400/Dual-head/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/WASP/PowerWASP/Configuration.h b/config/examples/WASP/PowerWASP/Configuration.h index b4fffdcfd73f..576aa6e7dac1 100644 --- a/config/examples/WASP/PowerWASP/Configuration.h +++ b/config/examples/WASP/PowerWASP/Configuration.h @@ -1996,6 +1996,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Wanhao/Duplicator 6/Configuration.h b/config/examples/Wanhao/Duplicator 6/Configuration.h index 7de297840e8c..270a88af4f8d 100644 --- a/config/examples/Wanhao/Duplicator 6/Configuration.h +++ b/config/examples/Wanhao/Duplicator 6/Configuration.h @@ -1987,6 +1987,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/Wanhao/Duplicator i3 Mini/Configuration.h b/config/examples/Wanhao/Duplicator i3 Mini/Configuration.h index f32ae7ae9462..dc52a994d9a8 100755 --- a/config/examples/Wanhao/Duplicator i3 Mini/Configuration.h +++ b/config/examples/Wanhao/Duplicator i3 Mini/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/adafruit/ST7565/Configuration.h b/config/examples/adafruit/ST7565/Configuration.h index e484c1ef49fb..4d45731cc9c5 100644 --- a/config/examples/adafruit/ST7565/Configuration.h +++ b/config/examples/adafruit/ST7565/Configuration.h @@ -1977,6 +1977,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/Anycubic/Kossel/Configuration.h b/config/examples/delta/Anycubic/Kossel/Configuration.h index 9bc449848067..9f15cf185086 100644 --- a/config/examples/delta/Anycubic/Kossel/Configuration.h +++ b/config/examples/delta/Anycubic/Kossel/Configuration.h @@ -2165,6 +2165,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/FLSUN/auto_calibrate/Configuration.h b/config/examples/delta/FLSUN/auto_calibrate/Configuration.h index 393ec7b1f14f..e72a745fee24 100644 --- a/config/examples/delta/FLSUN/auto_calibrate/Configuration.h +++ b/config/examples/delta/FLSUN/auto_calibrate/Configuration.h @@ -2105,6 +2105,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/FLSUN/kossel/Configuration.h b/config/examples/delta/FLSUN/kossel/Configuration.h index 39797c4656c4..84476974bf0d 100644 --- a/config/examples/delta/FLSUN/kossel/Configuration.h +++ b/config/examples/delta/FLSUN/kossel/Configuration.h @@ -2104,6 +2104,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/FLSUN/kossel_mini/Configuration.h b/config/examples/delta/FLSUN/kossel_mini/Configuration.h index 746e02338134..033337925444 100644 --- a/config/examples/delta/FLSUN/kossel_mini/Configuration.h +++ b/config/examples/delta/FLSUN/kossel_mini/Configuration.h @@ -2104,6 +2104,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/Geeetech/Rostock 301/Configuration.h b/config/examples/delta/Geeetech/Rostock 301/Configuration.h index 2bf4f81e1849..c234df3fbd2f 100644 --- a/config/examples/delta/Geeetech/Rostock 301/Configuration.h +++ b/config/examples/delta/Geeetech/Rostock 301/Configuration.h @@ -2093,6 +2093,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/Hatchbox_Alpha/Configuration.h b/config/examples/delta/Hatchbox_Alpha/Configuration.h index 34cee53e2aa4..924c5755c6c8 100644 --- a/config/examples/delta/Hatchbox_Alpha/Configuration.h +++ b/config/examples/delta/Hatchbox_Alpha/Configuration.h @@ -2107,6 +2107,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/MKS/SBASE/Configuration.h b/config/examples/delta/MKS/SBASE/Configuration.h index 06ff5067b3f5..300322e11afe 100644 --- a/config/examples/delta/MKS/SBASE/Configuration.h +++ b/config/examples/delta/MKS/SBASE/Configuration.h @@ -2092,6 +2092,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/Tevo Little Monster/Configuration.h b/config/examples/delta/Tevo Little Monster/Configuration.h index a4a887c77a14..534d6debf7ec 100644 --- a/config/examples/delta/Tevo Little Monster/Configuration.h +++ b/config/examples/delta/Tevo Little Monster/Configuration.h @@ -2096,6 +2096,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/generic/Configuration.h b/config/examples/delta/generic/Configuration.h index 66866b36f203..15590d535d87 100644 --- a/config/examples/delta/generic/Configuration.h +++ b/config/examples/delta/generic/Configuration.h @@ -2092,6 +2092,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/kossel_mini/Configuration.h b/config/examples/delta/kossel_mini/Configuration.h index b4728dd7126a..c194d317267a 100644 --- a/config/examples/delta/kossel_mini/Configuration.h +++ b/config/examples/delta/kossel_mini/Configuration.h @@ -2094,6 +2094,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/kossel_pro/Configuration.h b/config/examples/delta/kossel_pro/Configuration.h index f766c39d30e0..984e9919c2f6 100644 --- a/config/examples/delta/kossel_pro/Configuration.h +++ b/config/examples/delta/kossel_pro/Configuration.h @@ -2095,6 +2095,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/delta/kossel_xl/Configuration.h b/config/examples/delta/kossel_xl/Configuration.h index 7038595fa309..faa9ccda15cc 100644 --- a/config/examples/delta/kossel_xl/Configuration.h +++ b/config/examples/delta/kossel_xl/Configuration.h @@ -2095,6 +2095,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/gCreate/gMax1.5+/Configuration.h b/config/examples/gCreate/gMax1.5+/Configuration.h index 36c57a0aac53..f6f79b8df9a0 100644 --- a/config/examples/gCreate/gMax1.5+/Configuration.h +++ b/config/examples/gCreate/gMax1.5+/Configuration.h @@ -1991,6 +1991,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/makibox/Configuration.h b/config/examples/makibox/Configuration.h index af94e2998d38..19f29fff481e 100644 --- a/config/examples/makibox/Configuration.h +++ b/config/examples/makibox/Configuration.h @@ -1980,6 +1980,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/tvrrug/Round2/Configuration.h b/config/examples/tvrrug/Round2/Configuration.h index 3f31f05b0873..bfb728e06b8c 100644 --- a/config/examples/tvrrug/Round2/Configuration.h +++ b/config/examples/tvrrug/Round2/Configuration.h @@ -1972,6 +1972,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //============================================================================= diff --git a/config/examples/wt150/Configuration.h b/config/examples/wt150/Configuration.h index e0fdb86b02f5..008c7d7870f2 100644 --- a/config/examples/wt150/Configuration.h +++ b/config/examples/wt150/Configuration.h @@ -1982,6 +1982,13 @@ // //#define SILVER_GATE_GLCD_CONTROLLER +//#define CUSTOM_LCD_SIZE + +#if ENABLED(CUSTOM_LCD_SIZE) + #define LCD_WIDTH 16 + #define LCD_HEIGHT 2 +#endif + //============================================================================= //============================== OLED Displays ============================== //=============================================================================