Browse Source

Add LIGHTWEIGHT_UI to example configs

Scott Lahteine 6 years ago
parent
commit
556abc0888
43 changed files with 656 additions and 4 deletions
  1. 16
    0
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  2. 0
    2
      Marlin/src/config/examples/Anet/A6/Configuration.h
  3. 16
    0
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  4. 0
    2
      Marlin/src/config/examples/Anet/A8/Configuration.h
  5. 16
    0
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  6. 16
    0
      Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
  7. 16
    0
      Marlin/src/config/examples/BIBO/TouchX/Configuration_adv.h
  8. 16
    0
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  9. 16
    0
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  10. 16
    0
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  11. 16
    0
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  12. 16
    0
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  13. 16
    0
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  14. 16
    0
      Marlin/src/config/examples/Creality/Ender/Configuration_adv.h
  15. 16
    0
      Marlin/src/config/examples/Felix/Configuration_adv.h
  16. 16
    0
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  17. 16
    0
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  18. 16
    0
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  19. 16
    0
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  20. 16
    0
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  21. 16
    0
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  22. 16
    0
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  23. 16
    0
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  24. 16
    0
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  25. 16
    0
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  26. 16
    0
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  27. 16
    0
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  28. 16
    0
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  29. 16
    0
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  30. 16
    0
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  31. 16
    0
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  32. 16
    0
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  33. 16
    0
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  34. 16
    0
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  35. 16
    0
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  36. 16
    0
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  37. 16
    0
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  38. 16
    0
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  39. 16
    0
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  40. 16
    0
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  41. 16
    0
      Marlin/src/config/examples/makibox/Configuration_adv.h
  42. 16
    0
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  43. 16
    0
      Marlin/src/config/examples/wt150/Configuration_adv.h

+ 16
- 0
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 0
- 2
Marlin/src/config/examples/Anet/A6/Configuration.h View File

@@ -1675,8 +1675,6 @@
1675 1675
 // RepRapDiscount FULL GRAPHIC Smart Controller
1676 1676
 // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
1677 1677
 //
1678
-// Note: Details on connecting to the Anet V1.0 controller are in the file pins_ANET_10.h
1679
-//
1680 1678
 //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
1681 1679
 
1682 1680
 //

+ 16
- 0
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 0
- 2
Marlin/src/config/examples/Anet/A8/Configuration.h View File

@@ -1534,8 +1534,6 @@
1534 1534
 // RepRapDiscount FULL GRAPHIC Smart Controller
1535 1535
 // http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
1536 1536
 //
1537
-// Note: Details on connecting to the Anet V1.0 controller are in the file pins_ANET_10.h
1538
-//
1539 1537
 //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
1540 1538
 
1541 1539
 //

+ 16
- 0
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h View File

@@ -657,6 +657,22 @@
657 657
   // Swap the CW/CCW indicators in the graphics overlay
658 658
   //#define OVERLAY_GFX_REVERSE
659 659
 
660
+  #if ENABLED(U8GLIB_ST7920)
661
+    /**
662
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
663
+     * the ST7920 character-generator for very fast screen updates.
664
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
665
+     *
666
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
667
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
668
+     * length of time to display the status message before clearing.
669
+     */
670
+    //#define LIGHTWEIGHT_UI
671
+    #if ENABLED(LIGHTWEIGHT_UI)
672
+      #define STATUS_EXPIRE_SECONDS 20
673
+    #endif
674
+  #endif
675
+
660 676
 #endif // DOGLCD
661 677
 
662 678
 // @section safety

+ 16
- 0
Marlin/src/config/examples/BIBO/TouchX/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Creality/Ender/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Felix/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/MakerParts/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h View File

@@ -664,6 +664,22 @@
664 664
     #define DOGLCD_MOSI MOSI_PIN
665 665
   #endif
666 666
 
667
+  #if ENABLED(U8GLIB_ST7920)
668
+    /**
669
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
670
+     * the ST7920 character-generator for very fast screen updates.
671
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
672
+     *
673
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
674
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
675
+     * length of time to display the status message before clearing.
676
+     */
677
+    //#define LIGHTWEIGHT_UI
678
+    #if ENABLED(LIGHTWEIGHT_UI)
679
+      #define STATUS_EXPIRE_SECONDS 20
680
+    #endif
681
+  #endif
682
+
667 683
 #endif // DOGLCD
668 684
 
669 685
 // @section safety

+ 16
- 0
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/TheBorg/Configuration_adv.h View File

@@ -653,6 +653,22 @@
653 653
   // Swap the CW/CCW indicators in the graphics overlay
654 654
   //#define OVERLAY_GFX_REVERSE
655 655
 
656
+  #if ENABLED(U8GLIB_ST7920)
657
+    /**
658
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
659
+     * the ST7920 character-generator for very fast screen updates.
660
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
661
+     *
662
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
663
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
664
+     * length of time to display the status message before clearing.
665
+     */
666
+    //#define LIGHTWEIGHT_UI
667
+    #if ENABLED(LIGHTWEIGHT_UI)
668
+      #define STATUS_EXPIRE_SECONDS 20
669
+    #endif
670
+  #endif
671
+
656 672
 #endif // DOGLCD
657 673
 
658 674
 // @section safety

+ 16
- 0
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -669,6 +669,22 @@
669 669
   // Swap the CW/CCW indicators in the graphics overlay
670 670
   //#define OVERLAY_GFX_REVERSE
671 671
 
672
+  #if ENABLED(U8GLIB_ST7920)
673
+    /**
674
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
675
+     * the ST7920 character-generator for very fast screen updates.
676
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
677
+     *
678
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
679
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
680
+     * length of time to display the status message before clearing.
681
+     */
682
+    //#define LIGHTWEIGHT_UI
683
+    #if ENABLED(LIGHTWEIGHT_UI)
684
+      #define STATUS_EXPIRE_SECONDS 20
685
+    #endif
686
+  #endif
687
+
672 688
 #endif // DOGLCD
673 689
 
674 690
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h View File

@@ -658,6 +658,22 @@
658 658
   // Swap the CW/CCW indicators in the graphics overlay
659 659
   //#define OVERLAY_GFX_REVERSE
660 660
 
661
+  #if ENABLED(U8GLIB_ST7920)
662
+    /**
663
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
664
+     * the ST7920 character-generator for very fast screen updates.
665
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
666
+     *
667
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
668
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
669
+     * length of time to display the status message before clearing.
670
+     */
671
+    //#define LIGHTWEIGHT_UI
672
+    #if ENABLED(LIGHTWEIGHT_UI)
673
+      #define STATUS_EXPIRE_SECONDS 20
674
+    #endif
675
+  #endif
676
+
661 677
 #endif // DOGLCD
662 678
 
663 679
 // @section safety

+ 16
- 0
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -658,6 +658,22 @@
658 658
   // Swap the CW/CCW indicators in the graphics overlay
659 659
   //#define OVERLAY_GFX_REVERSE
660 660
 
661
+  #if ENABLED(U8GLIB_ST7920)
662
+    /**
663
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
664
+     * the ST7920 character-generator for very fast screen updates.
665
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
666
+     *
667
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
668
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
669
+     * length of time to display the status message before clearing.
670
+     */
671
+    //#define LIGHTWEIGHT_UI
672
+    #if ENABLED(LIGHTWEIGHT_UI)
673
+      #define STATUS_EXPIRE_SECONDS 20
674
+    #endif
675
+  #endif
676
+
661 677
 #endif // DOGLCD
662 678
 
663 679
 // @section safety

+ 16
- 0
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

@@ -658,6 +658,22 @@
658 658
   // Swap the CW/CCW indicators in the graphics overlay
659 659
   //#define OVERLAY_GFX_REVERSE
660 660
 
661
+  #if ENABLED(U8GLIB_ST7920)
662
+    /**
663
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
664
+     * the ST7920 character-generator for very fast screen updates.
665
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
666
+     *
667
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
668
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
669
+     * length of time to display the status message before clearing.
670
+     */
671
+    //#define LIGHTWEIGHT_UI
672
+    #if ENABLED(LIGHTWEIGHT_UI)
673
+      #define STATUS_EXPIRE_SECONDS 20
674
+    #endif
675
+  #endif
676
+
661 677
 #endif // DOGLCD
662 678
 
663 679
 // @section safety

+ 16
- 0
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -658,6 +658,22 @@
658 658
   // Swap the CW/CCW indicators in the graphics overlay
659 659
   //#define OVERLAY_GFX_REVERSE
660 660
 
661
+  #if ENABLED(U8GLIB_ST7920)
662
+    /**
663
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
664
+     * the ST7920 character-generator for very fast screen updates.
665
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
666
+     *
667
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
668
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
669
+     * length of time to display the status message before clearing.
670
+     */
671
+    //#define LIGHTWEIGHT_UI
672
+    #if ENABLED(LIGHTWEIGHT_UI)
673
+      #define STATUS_EXPIRE_SECONDS 20
674
+    #endif
675
+  #endif
676
+
661 677
 #endif // DOGLCD
662 678
 
663 679
 // @section safety

+ 16
- 0
Marlin/src/config/examples/delta/generic/Configuration_adv.h View File

@@ -658,6 +658,22 @@
658 658
   // Swap the CW/CCW indicators in the graphics overlay
659 659
   //#define OVERLAY_GFX_REVERSE
660 660
 
661
+  #if ENABLED(U8GLIB_ST7920)
662
+    /**
663
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
664
+     * the ST7920 character-generator for very fast screen updates.
665
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
666
+     *
667
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
668
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
669
+     * length of time to display the status message before clearing.
670
+     */
671
+    //#define LIGHTWEIGHT_UI
672
+    #if ENABLED(LIGHTWEIGHT_UI)
673
+      #define STATUS_EXPIRE_SECONDS 20
674
+    #endif
675
+  #endif
676
+
661 677
 #endif // DOGLCD
662 678
 
663 679
 // @section safety

+ 16
- 0
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -658,6 +658,22 @@
658 658
   // Swap the CW/CCW indicators in the graphics overlay
659 659
   //#define OVERLAY_GFX_REVERSE
660 660
 
661
+  #if ENABLED(U8GLIB_ST7920)
662
+    /**
663
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
664
+     * the ST7920 character-generator for very fast screen updates.
665
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
666
+     *
667
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
668
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
669
+     * length of time to display the status message before clearing.
670
+     */
671
+    //#define LIGHTWEIGHT_UI
672
+    #if ENABLED(LIGHTWEIGHT_UI)
673
+      #define STATUS_EXPIRE_SECONDS 20
674
+    #endif
675
+  #endif
676
+
661 677
 #endif // DOGLCD
662 678
 
663 679
 // @section safety

+ 16
- 0
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h View File

@@ -663,6 +663,22 @@
663 663
   // Swap the CW/CCW indicators in the graphics overlay
664 664
   //#define OVERLAY_GFX_REVERSE
665 665
 
666
+  #if ENABLED(U8GLIB_ST7920)
667
+    /**
668
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
669
+     * the ST7920 character-generator for very fast screen updates.
670
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
671
+     *
672
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
673
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
674
+     * length of time to display the status message before clearing.
675
+     */
676
+    //#define LIGHTWEIGHT_UI
677
+    #if ENABLED(LIGHTWEIGHT_UI)
678
+      #define STATUS_EXPIRE_SECONDS 20
679
+    #endif
680
+  #endif
681
+
666 682
 #endif // DOGLCD
667 683
 
668 684
 // @section safety

+ 16
- 0
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -658,6 +658,22 @@
658 658
   // Swap the CW/CCW indicators in the graphics overlay
659 659
   //#define OVERLAY_GFX_REVERSE
660 660
 
661
+  #if ENABLED(U8GLIB_ST7920)
662
+    /**
663
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
664
+     * the ST7920 character-generator for very fast screen updates.
665
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
666
+     *
667
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
668
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
669
+     * length of time to display the status message before clearing.
670
+     */
671
+    //#define LIGHTWEIGHT_UI
672
+    #if ENABLED(LIGHTWEIGHT_UI)
673
+      #define STATUS_EXPIRE_SECONDS 20
674
+    #endif
675
+  #endif
676
+
661 677
 #endif // DOGLCD
662 678
 
663 679
 // @section safety

+ 16
- 0
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/makibox/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -656,6 +656,22 @@
656 656
   // Swap the CW/CCW indicators in the graphics overlay
657 657
   //#define OVERLAY_GFX_REVERSE
658 658
 
659
+  #if ENABLED(U8GLIB_ST7920)
660
+    /**
661
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
662
+     * the ST7920 character-generator for very fast screen updates.
663
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
664
+     *
665
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
666
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
667
+     * length of time to display the status message before clearing.
668
+     */
669
+    //#define LIGHTWEIGHT_UI
670
+    #if ENABLED(LIGHTWEIGHT_UI)
671
+      #define STATUS_EXPIRE_SECONDS 20
672
+    #endif
673
+  #endif
674
+
659 675
 #endif // DOGLCD
660 676
 
661 677
 // @section safety

+ 16
- 0
Marlin/src/config/examples/wt150/Configuration_adv.h View File

@@ -657,6 +657,22 @@
657 657
   // Swap the CW/CCW indicators in the graphics overlay
658 658
   //#define OVERLAY_GFX_REVERSE
659 659
 
660
+  #if ENABLED(U8GLIB_ST7920)
661
+    /**
662
+     * ST7920-based LCDs can emulate a 16 x 4 character display using
663
+     * the ST7920 character-generator for very fast screen updates.
664
+     * Enable LIGHTWEIGHT_UI to use this special display mode.
665
+     *
666
+     * Since LIGHTWEIGHT_UI has limited space, the position and status
667
+     * message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
668
+     * length of time to display the status message before clearing.
669
+     */
670
+    //#define LIGHTWEIGHT_UI
671
+    #if ENABLED(LIGHTWEIGHT_UI)
672
+      #define STATUS_EXPIRE_SECONDS 20
673
+    #endif
674
+  #endif
675
+
660 676
 #endif // DOGLCD
661 677
 
662 678
 // @section safety

Loading…
Cancel
Save