Procházet zdrojové kódy

Option to disable Case Light brightness control (#14165)

InsanityAutomation před 5 roky
rodič
revize
4138b1f9ae
80 změnil soubory, kde provedl 184 přidání a 96 odebrání
  1. 2
    1
      Marlin/Configuration_adv.h
  2. 9
    6
      Marlin/src/feature/caselight.cpp
  3. 2
    0
      Marlin/src/inc/SanityCheck.h
  4. 19
    13
      Marlin/src/lcd/menu/menu_configuration.cpp
  5. 2
    1
      config/default/Configuration_adv.h
  6. 2
    1
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  7. 2
    1
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  8. 2
    1
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  9. 2
    1
      config/examples/Anet/A2/Configuration_adv.h
  10. 2
    1
      config/examples/Anet/A2plus/Configuration_adv.h
  11. 2
    1
      config/examples/Anet/A6/Configuration_adv.h
  12. 2
    1
      config/examples/Anet/A8/Configuration_adv.h
  13. 2
    1
      config/examples/Anet/A8plus/Configuration_adv.h
  14. 2
    1
      config/examples/Anet/E16/Configuration_adv.h
  15. 2
    1
      config/examples/AnyCubic/i3/Configuration_adv.h
  16. 2
    1
      config/examples/ArmEd/Configuration_adv.h
  17. 2
    1
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  18. 2
    1
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  19. 2
    1
      config/examples/BQ/Hephestos/Configuration_adv.h
  20. 2
    1
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  21. 2
    1
      config/examples/BQ/WITBOX/Configuration_adv.h
  22. 2
    1
      config/examples/Cartesio/Configuration_adv.h
  23. 2
    1
      config/examples/Creality/CR-10/Configuration_adv.h
  24. 2
    1
      config/examples/Creality/CR-10S/Configuration_adv.h
  25. 2
    1
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  26. 2
    1
      config/examples/Creality/CR-10mini/Configuration_adv.h
  27. 2
    1
      config/examples/Creality/CR-8/Configuration_adv.h
  28. 2
    1
      config/examples/Creality/Ender-2/Configuration_adv.h
  29. 2
    1
      config/examples/Creality/Ender-3/Configuration_adv.h
  30. 2
    1
      config/examples/Creality/Ender-4/Configuration_adv.h
  31. 2
    1
      config/examples/Einstart-S/Configuration_adv.h
  32. 2
    1
      config/examples/Felix/Configuration_adv.h
  33. 2
    1
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  34. 2
    1
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  35. 2
    1
      config/examples/Formbot/Raptor/Configuration_adv.h
  36. 2
    1
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  37. 2
    1
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  38. 2
    1
      config/examples/Geeetech/A10M/Configuration_adv.h
  39. 2
    1
      config/examples/Geeetech/A20M/Configuration_adv.h
  40. 2
    1
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  41. 2
    1
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  42. 2
    1
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  43. 2
    1
      config/examples/Infitary/i3-M508/Configuration_adv.h
  44. 2
    1
      config/examples/JGAurora/A5/Configuration_adv.h
  45. 2
    1
      config/examples/MakerParts/Configuration_adv.h
  46. 2
    1
      config/examples/Malyan/M150/Configuration_adv.h
  47. 2
    1
      config/examples/Malyan/M200/Configuration_adv.h
  48. 2
    1
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  49. 2
    1
      config/examples/Mks/Robin/Configuration_adv.h
  50. 2
    1
      config/examples/Mks/Sbase/Configuration_adv.h
  51. 2
    1
      config/examples/RapideLite/RL200/Configuration_adv.h
  52. 2
    1
      config/examples/RigidBot/Configuration_adv.h
  53. 2
    1
      config/examples/SCARA/Configuration_adv.h
  54. 2
    1
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  55. 2
    1
      config/examples/Sanguinololu/Configuration_adv.h
  56. 2
    1
      config/examples/TheBorg/Configuration_adv.h
  57. 2
    1
      config/examples/TinyBoy2/Configuration_adv.h
  58. 2
    1
      config/examples/Tronxy/X3A/Configuration_adv.h
  59. 2
    1
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  60. 2
    1
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  61. 2
    1
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  62. 2
    1
      config/examples/VORONDesign/Configuration_adv.h
  63. 2
    1
      config/examples/Velleman/K8200/Configuration_adv.h
  64. 2
    1
      config/examples/Velleman/K8400/Configuration_adv.h
  65. 2
    1
      config/examples/WASP/PowerWASP/Configuration_adv.h
  66. 2
    1
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  67. 2
    1
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  68. 2
    1
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  69. 2
    1
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  70. 2
    1
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  71. 2
    1
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  72. 2
    1
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  73. 2
    1
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  74. 2
    1
      config/examples/delta/generic/Configuration_adv.h
  75. 2
    1
      config/examples/delta/kossel_mini/Configuration_adv.h
  76. 2
    1
      config/examples/delta/kossel_xl/Configuration_adv.h
  77. 2
    1
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  78. 2
    1
      config/examples/makibox/Configuration_adv.h
  79. 2
    1
      config/examples/tvrrug/Round2/Configuration_adv.h
  80. 2
    1
      config/examples/wt150/Configuration_adv.h

+ 2
- 1
Marlin/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 9
- 6
Marlin/src/feature/caselight.cpp Zobrazit soubor

@@ -69,12 +69,15 @@ void update_case_light() {
69 69
 
70 70
   #else // !CASE_LIGHT_USE_NEOPIXEL
71 71
 
72
-    if (PWM_PIN(CASE_LIGHT_PIN))
73
-      analogWrite(CASE_LIGHT_PIN, n10ct);
74
-    else {
75
-      const bool s = case_light_on ? !INVERT_CASE_LIGHT : INVERT_CASE_LIGHT;
76
-      WRITE(CASE_LIGHT_PIN, s ? HIGH : LOW);
77
-    }
72
+    #if DISABLED(CASE_LIGHT_NO_BRIGHTNESS)
73
+      if (PWM_PIN(CASE_LIGHT_PIN))
74
+        analogWrite(CASE_LIGHT_PIN, n10ct);
75
+      else
76
+    #endif
77
+      {
78
+        const bool s = case_light_on ? !INVERT_CASE_LIGHT : INVERT_CASE_LIGHT;
79
+        WRITE(CASE_LIGHT_PIN, s ? HIGH : LOW);
80
+      }
78 81
 
79 82
   #endif // !CASE_LIGHT_USE_NEOPIXEL
80 83
 }

+ 2
- 0
Marlin/src/inc/SanityCheck.h Zobrazit soubor

@@ -355,6 +355,8 @@
355 355
   #error "Z_MIN_PROBE_ENDSTOP is no longer required. Please remove it from Configuration.h."
356 356
 #elif defined(DUAL_NOZZLE_DUPLICATION_MODE)
357 357
   #error "DUAL_NOZZLE_DUPLICATION_MODE is now MULTI_NOZZLE_DUPLICATION. Please update your configuration."
358
+#elif defined(MENU_ITEM_CASE_LIGHT)
359
+  #error "MENU_ITEM_CASE_LIGHT is now CASE_LIGHT_MENU. Please update your configuration."
358 360
 #endif
359 361
 
360 362
 #define BOARD_MKS_13     -47

+ 19
- 13
Marlin/src/lcd/menu/menu_configuration.cpp Zobrazit soubor

@@ -211,17 +211,21 @@ static void lcd_factory_settings() {
211 211
 
212 212
 #endif
213 213
 
214
-#if ENABLED(MENU_ITEM_CASE_LIGHT)
214
+#if ENABLED(CASE_LIGHT_MENU)
215 215
 
216 216
   #include "../../feature/caselight.h"
217 217
 
218
-  void menu_case_light() {
219
-    START_MENU();
220
-    MENU_BACK(MSG_CONFIGURATION);
221
-    MENU_ITEM_EDIT_CALLBACK(uint8, MSG_CASE_LIGHT_BRIGHTNESS, &case_light_brightness, 0, 255, update_case_light, true);
222
-    MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, (bool*)&case_light_on, update_case_light);
223
-    END_MENU();
224
-  }
218
+  #if DISABLED(CASE_LIGHT_NO_BRIGHTNESS)
219
+
220
+    void menu_case_light() {
221
+      START_MENU();
222
+      MENU_BACK(MSG_CONFIGURATION);
223
+      MENU_ITEM_EDIT_CALLBACK(uint8, MSG_CASE_LIGHT_BRIGHTNESS, &case_light_brightness, 0, 255, update_case_light, true);
224
+      MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, (bool*)&case_light_on, update_case_light);
225
+      END_MENU();
226
+    }
227
+
228
+  #endif
225 229
 
226 230
 #endif
227 231
 
@@ -347,11 +351,13 @@ void menu_configuration() {
347 351
   //
348 352
   // Set Case light on/off/brightness
349 353
   //
350
-  #if ENABLED(MENU_ITEM_CASE_LIGHT)
351
-    if (PWM_PIN(CASE_LIGHT_PIN))
352
-      MENU_ITEM(submenu, MSG_CASE_LIGHT, menu_case_light);
353
-    else
354
-      MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, (bool*)&case_light_on, update_case_light);
354
+  #if ENABLED(CASE_LIGHT_MENU)
355
+    #if DISABLED(CASE_LIGHT_NO_BRIGHTNESS)
356
+      if (PWM_PIN(CASE_LIGHT_PIN))
357
+        MENU_ITEM(submenu, MSG_CASE_LIGHT, menu_case_light);
358
+      else
359
+    #endif
360
+        MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, (bool*)&case_light_on, update_case_light);
355 361
   #endif
356 362
 
357 363
   #if HAS_LCD_CONTRAST

+ 2
- 1
config/default/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/3DFabXYZ/Migbot/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON false         // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  #define MENU_ITEM_CASE_LIGHT                // Add a Case Light option to the LCD main menu
378
+  #define CASE_LIGHT_MENU                     // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/AlephObjects/TAZ4/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/AliExpress/UM2pExt/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 255   // Set default power-up brightness (0-255, requires PWM pin)
378
-  #define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  #define CASE_LIGHT_MENU                     // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Anet/A2/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Anet/A2plus/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Anet/A6/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Anet/A8/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Anet/A8plus/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Anet/E16/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/AnyCubic/i3/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/ArmEd/Configuration_adv.h Zobrazit soubor

@@ -379,7 +379,8 @@
379 379
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
380 380
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
381 381
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
382
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
382
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
383
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
383 384
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
384 385
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
385 386
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/BIBO/TouchX/default/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/BQ/Hephestos/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/BQ/Hephestos_2/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/BQ/WITBOX/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Cartesio/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Creality/CR-10/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Creality/CR-10S/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Creality/CR-10_5S/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Creality/CR-10mini/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Creality/CR-8/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Creality/Ender-2/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Creality/Ender-3/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Creality/Ender-4/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON false         // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  #define MENU_ITEM_CASE_LIGHT                // Add a Case Light option to the LCD main menu
378
+  #define CASE_LIGHT_MENU                     // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Einstart-S/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Felix/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/FlashForge/CreatorPro/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/FolgerTech/i3-2020/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Formbot/Raptor/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 255   // Set default power-up brightness (0-255, requires PWM pin)
378
-  #define MENU_ITEM_CASE_LIGHT                // Add a Case Light option to the LCD main menu
378
+  #define CASE_LIGHT_MENU                     // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Formbot/T_Rex_2+/Configuration_adv.h Zobrazit soubor

@@ -379,7 +379,8 @@
379 379
   #else
380 380
     #define CASE_LIGHT_DEFAULT_BRIGHTNESS 255 // Set default power-up brightness (0-255, requires PWM pin)
381 381
   #endif
382
-  #define MENU_ITEM_CASE_LIGHT                // Add a Case Light option to the LCD main menu
382
+  #define CASE_LIGHT_MENU                     // Add Case Light options to the LCD menu
383
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
383 384
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
384 385
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
385 386
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Formbot/T_Rex_3/Configuration_adv.h Zobrazit soubor

@@ -379,7 +379,8 @@
379 379
   #else
380 380
     #define CASE_LIGHT_DEFAULT_BRIGHTNESS 255 // Set default power-up brightness (0-255, requires PWM pin)
381 381
   #endif
382
-  #define MENU_ITEM_CASE_LIGHT                // Add a Case Light option to the LCD main menu
382
+  #define CASE_LIGHT_MENU                     // Add Case Light options to the LCD menu
383
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
383 384
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
384 385
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
385 386
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Geeetech/A10M/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Geeetech/A20M/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Geeetech/MeCreator2/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  #define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  #define CASE_LIGHT_MENU                     // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Infitary/i3-M508/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/JGAurora/A5/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/MakerParts/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Malyan/M150/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Malyan/M200/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Micromake/C1/enhanced/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Mks/Robin/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Mks/Sbase/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/RapideLite/RL200/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/RigidBot/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/SCARA/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Sanguinololu/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/TheBorg/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/TinyBoy2/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Tronxy/X3A/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Tronxy/X5S-2E/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/UltiMachine/Archim1/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/UltiMachine/Archim2/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/VORONDesign/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Velleman/K8200/Configuration_adv.h Zobrazit soubor

@@ -388,7 +388,8 @@
388 388
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
389 389
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
390 390
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
391
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
391
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
392
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
392 393
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
393 394
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
394 395
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Velleman/K8400/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/WASP/PowerWASP/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/Wanhao/Duplicator 6/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 255   // Set default power-up brightness (0-255, requires PWM pin)
378
-  #define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  #define CASE_LIGHT_MENU                     // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/delta/Anycubic/Kossel/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/delta/FLSUN/kossel/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/delta/MKS/SBASE/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/delta/Tevo Little Monster/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/delta/generic/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/delta/kossel_mini/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/delta/kossel_xl/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/gCreate/gMax1.5+/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/makibox/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/tvrrug/Round2/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 2
- 1
config/examples/wt150/Configuration_adv.h Zobrazit soubor

@@ -375,7 +375,8 @@
375 375
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
376 376
   #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
377 377
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
378
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
378
+  //#define CASE_LIGHT_MENU                   // Add Case Light options to the LCD menu
379
+  //#define CASE_LIGHT_NO_BRIGHTNESS          // Disable brightness control. Enable for non-PWM lighting.
379 380
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
380 381
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
381 382
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

Loading…
Zrušit
Uložit