Browse Source

LED_CONTROL_MENU config changes

Scott Lahteine 6 years ago
parent
commit
8f90642eea
38 changed files with 504 additions and 377 deletions
  1. 1
    1
      .travis.yml
  2. 14
    12
      Marlin/Configuration_adv.h
  3. 14
    11
      Marlin/src/config/default/Configuration_adv.h
  4. 14
    11
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  5. 14
    11
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  6. 14
    11
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  7. 14
    11
      Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
  8. 14
    11
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  9. 14
    11
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  10. 14
    11
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  11. 14
    11
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  12. 14
    11
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  13. 14
    11
      Marlin/src/config/examples/Felix/Configuration_adv.h
  14. 14
    11
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  15. 14
    11
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  16. 14
    11
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  17. 14
    11
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  18. 14
    11
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  19. 14
    11
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  20. 14
    11
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  21. 14
    11
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  22. 14
    11
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  23. 14
    11
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  24. 14
    11
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  25. 14
    11
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  26. 14
    11
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  27. 14
    11
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  28. 14
    11
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  29. 14
    11
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  30. 14
    11
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  31. 14
    11
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  32. 14
    11
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  33. 14
    11
      Marlin/src/config/examples/makibox/Configuration_adv.h
  34. 14
    11
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  35. 14
    11
      Marlin/src/config/examples/wt150/Configuration_adv.h
  36. 23
    0
      Marlin/src/inc/Conditionals_post.h
  37. 1
    0
      Marlin/src/inc/MarlinConfig.h
  38. 3
    1
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
.travis.yml View File

@@ -63,7 +63,7 @@ script:
63 63
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
64 64
   - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_LED
65 65
   - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
66
-  - opt_enable_adv FWRETRACT MAX7219_DEBUG
66
+  - opt_enable_adv FWRETRACT MAX7219_DEBUG LED_CONTROL_MENU
67 67
   - opt_set ABL_GRID_POINTS_X 16
68 68
   - opt_set ABL_GRID_POINTS_Y 16
69 69
   - opt_set_adv FANMUX0_PIN 53

+ 14
- 12
Marlin/Configuration_adv.h View File

@@ -482,19 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-
496
-      //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
497
-    #endif
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
498 500
 #endif // LED_CONTROL_MENU
499 501
 
500 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/default/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h View File

@@ -483,18 +483,21 @@
483 483
 // The timeout (in ms) to return to the status screen from sub-menus
484 484
 //#define LCD_TIMEOUT_TO_STATUS 15000
485 485
 
486
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
486
+/**
487
+ * LED Control Menu
488
+ * Enable this feature to add LED Control to the LCD menu
489
+ */
490
+//#define LED_CONTROL_MENU
487 491
 #if ENABLED(LED_CONTROL_MENU)
488
-
489
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
490
-    #if ENABLED(LED_COLOR_PRESETS)
491
-      #define LED_USER_PRESET_RED       255   // User defined RED value
492
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
493
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
494
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
495
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
496
-    #endif
497
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
492
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
493
+  #if ENABLED(LED_COLOR_PRESETS)
494
+    #define LED_USER_PRESET_RED        255  // User defined RED value
495
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
496
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
497
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
498
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
499
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
500
+  #endif
498 501
 #endif // LED_CONTROL_MENU
499 502
 
500 503
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Felix/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h View File

@@ -483,18 +483,21 @@
483 483
 // The timeout (in ms) to return to the status screen from sub-menus
484 484
 //#define LCD_TIMEOUT_TO_STATUS 15000
485 485
 
486
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
486
+/**
487
+ * LED Control Menu
488
+ * Enable this feature to add LED Control to the LCD menu
489
+ */
490
+//#define LED_CONTROL_MENU
487 491
 #if ENABLED(LED_CONTROL_MENU)
488
-
489
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
490
-    #if ENABLED(LED_COLOR_PRESETS)
491
-      #define LED_USER_PRESET_RED       255   // User defined RED value
492
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
493
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
494
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
495
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
496
-    #endif
497
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
492
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
493
+  #if ENABLED(LED_COLOR_PRESETS)
494
+    #define LED_USER_PRESET_RED        255  // User defined RED value
495
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
496
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
497
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
498
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
499
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
500
+  #endif
498 501
 #endif // LED_CONTROL_MENU
499 502
 
500 503
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

@@ -471,18 +471,21 @@
471 471
 // The timeout (in ms) to return to the status screen from sub-menus
472 472
 //#define LCD_TIMEOUT_TO_STATUS 15000
473 473
 
474
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
474
+/**
475
+ * LED Control Menu
476
+ * Enable this feature to add LED Control to the LCD menu
477
+ */
478
+//#define LED_CONTROL_MENU
475 479
 #if ENABLED(LED_CONTROL_MENU)
476
-
477
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
478
-    #if ENABLED(LED_COLOR_PRESETS)
479
-      #define LED_USER_PRESET_RED       255   // User defined RED value
480
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
481
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
482
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
483
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
484
-    #endif
485
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
480
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
481
+  #if ENABLED(LED_COLOR_PRESETS)
482
+    #define LED_USER_PRESET_RED        255  // User defined RED value
483
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
484
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
485
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
486
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
487
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
488
+  #endif
486 489
 #endif // LED_CONTROL_MENU
487 490
 
488 491
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -495,18 +495,21 @@
495 495
 // The timeout (in ms) to return to the status screen from sub-menus
496 496
 //#define LCD_TIMEOUT_TO_STATUS 15000
497 497
 
498
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
498
+/**
499
+ * LED Control Menu
500
+ * Enable this feature to add LED Control to the LCD menu
501
+ */
502
+//#define LED_CONTROL_MENU
499 503
 #if ENABLED(LED_CONTROL_MENU)
500
-
501
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
502
-    #if ENABLED(LED_COLOR_PRESETS)
503
-      #define LED_USER_PRESET_RED       255   // User defined RED value
504
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
505
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
506
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
507
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
508
-    #endif
509
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
504
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
505
+  #if ENABLED(LED_COLOR_PRESETS)
506
+    #define LED_USER_PRESET_RED        255  // User defined RED value
507
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
508
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
509
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
510
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
511
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
512
+  #endif
510 513
 #endif // LED_CONTROL_MENU
511 514
 
512 515
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h View File

@@ -483,18 +483,21 @@
483 483
 // The timeout (in ms) to return to the status screen from sub-menus
484 484
 //#define LCD_TIMEOUT_TO_STATUS 15000
485 485
 
486
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
486
+/**
487
+ * LED Control Menu
488
+ * Enable this feature to add LED Control to the LCD menu
489
+ */
490
+//#define LED_CONTROL_MENU
487 491
 #if ENABLED(LED_CONTROL_MENU)
488
-
489
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
490
-    #if ENABLED(LED_COLOR_PRESETS)
491
-      #define LED_USER_PRESET_RED       255   // User defined RED value
492
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
493
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
494
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
495
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
496
-    #endif
497
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
492
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
493
+  #if ENABLED(LED_COLOR_PRESETS)
494
+    #define LED_USER_PRESET_RED        255  // User defined RED value
495
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
496
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
497
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
498
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
499
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
500
+  #endif
498 501
 #endif // LED_CONTROL_MENU
499 502
 
500 503
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -484,18 +484,21 @@
484 484
 // The timeout (in ms) to return to the status screen from sub-menus
485 485
 //#define LCD_TIMEOUT_TO_STATUS 15000
486 486
 
487
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
487
+/**
488
+ * LED Control Menu
489
+ * Enable this feature to add LED Control to the LCD menu
490
+ */
491
+//#define LED_CONTROL_MENU
488 492
 #if ENABLED(LED_CONTROL_MENU)
489
-
490
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
491
-    #if ENABLED(LED_COLOR_PRESETS)
492
-      #define LED_USER_PRESET_RED       255   // User defined RED value
493
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
494
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
495
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
496
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
497
-    #endif
498
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
493
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
494
+  #if ENABLED(LED_COLOR_PRESETS)
495
+    #define LED_USER_PRESET_RED        255  // User defined RED value
496
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
497
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
498
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
499
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
500
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
501
+  #endif
499 502
 #endif // LED_CONTROL_MENU
500 503
 
501 504
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -484,18 +484,21 @@
484 484
 // The timeout (in ms) to return to the status screen from sub-menus
485 485
 //#define LCD_TIMEOUT_TO_STATUS 15000
486 486
 
487
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
487
+/**
488
+ * LED Control Menu
489
+ * Enable this feature to add LED Control to the LCD menu
490
+ */
491
+//#define LED_CONTROL_MENU
488 492
 #if ENABLED(LED_CONTROL_MENU)
489
-
490
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
491
-    #if ENABLED(LED_COLOR_PRESETS)
492
-      #define LED_USER_PRESET_RED       255   // User defined RED value
493
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
494
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
495
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
496
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
497
-    #endif
498
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
493
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
494
+  #if ENABLED(LED_COLOR_PRESETS)
495
+    #define LED_USER_PRESET_RED        255  // User defined RED value
496
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
497
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
498
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
499
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
500
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
501
+  #endif
499 502
 #endif // LED_CONTROL_MENU
500 503
 
501 504
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/delta/generic/Configuration_adv.h View File

@@ -484,18 +484,21 @@
484 484
 // The timeout (in ms) to return to the status screen from sub-menus
485 485
 //#define LCD_TIMEOUT_TO_STATUS 15000
486 486
 
487
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
487
+/**
488
+ * LED Control Menu
489
+ * Enable this feature to add LED Control to the LCD menu
490
+ */
491
+//#define LED_CONTROL_MENU
488 492
 #if ENABLED(LED_CONTROL_MENU)
489
-
490
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
491
-    #if ENABLED(LED_COLOR_PRESETS)
492
-      #define LED_USER_PRESET_RED       255   // User defined RED value
493
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
494
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
495
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
496
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
497
-    #endif
498
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
493
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
494
+  #if ENABLED(LED_COLOR_PRESETS)
495
+    #define LED_USER_PRESET_RED        255  // User defined RED value
496
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
497
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
498
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
499
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
500
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
501
+  #endif
499 502
 #endif // LED_CONTROL_MENU
500 503
 
501 504
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -484,18 +484,21 @@
484 484
 // The timeout (in ms) to return to the status screen from sub-menus
485 485
 //#define LCD_TIMEOUT_TO_STATUS 15000
486 486
 
487
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
487
+/**
488
+ * LED Control Menu
489
+ * Enable this feature to add LED Control to the LCD menu
490
+ */
491
+//#define LED_CONTROL_MENU
488 492
 #if ENABLED(LED_CONTROL_MENU)
489
-
490
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
491
-    #if ENABLED(LED_COLOR_PRESETS)
492
-      #define LED_USER_PRESET_RED       255   // User defined RED value
493
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
494
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
495
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
496
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
497
-    #endif
498
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
493
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
494
+  #if ENABLED(LED_COLOR_PRESETS)
495
+    #define LED_USER_PRESET_RED        255  // User defined RED value
496
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
497
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
498
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
499
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
500
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
501
+  #endif
499 502
 #endif // LED_CONTROL_MENU
500 503
 
501 504
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h View File

@@ -489,18 +489,21 @@
489 489
 // The timeout (in ms) to return to the status screen from sub-menus
490 490
 //#define LCD_TIMEOUT_TO_STATUS 15000
491 491
 
492
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
492
+/**
493
+ * LED Control Menu
494
+ * Enable this feature to add LED Control to the LCD menu
495
+ */
496
+//#define LED_CONTROL_MENU
493 497
 #if ENABLED(LED_CONTROL_MENU)
494
-
495
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
496
-    #if ENABLED(LED_COLOR_PRESETS)
497
-      #define LED_USER_PRESET_RED       255   // User defined RED value
498
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
499
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
500
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
501
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
502
-    #endif
503
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
498
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
499
+  #if ENABLED(LED_COLOR_PRESETS)
500
+    #define LED_USER_PRESET_RED        255  // User defined RED value
501
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
502
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
503
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
504
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
505
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
506
+  #endif
504 507
 #endif // LED_CONTROL_MENU
505 508
 
506 509
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -484,18 +484,21 @@
484 484
 // The timeout (in ms) to return to the status screen from sub-menus
485 485
 //#define LCD_TIMEOUT_TO_STATUS 15000
486 486
 
487
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
487
+/**
488
+ * LED Control Menu
489
+ * Enable this feature to add LED Control to the LCD menu
490
+ */
491
+//#define LED_CONTROL_MENU
488 492
 #if ENABLED(LED_CONTROL_MENU)
489
-
490
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
491
-    #if ENABLED(LED_COLOR_PRESETS)
492
-      #define LED_USER_PRESET_RED       255   // User defined RED value
493
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
494
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
495
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
496
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
497
-    #endif
498
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
493
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
494
+  #if ENABLED(LED_COLOR_PRESETS)
495
+    #define LED_USER_PRESET_RED        255  // User defined RED value
496
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
497
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
498
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
499
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
500
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
501
+  #endif
499 502
 #endif // LED_CONTROL_MENU
500 503
 
501 504
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/makibox/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -482,18 +482,21 @@
482 482
 // The timeout (in ms) to return to the status screen from sub-menus
483 483
 //#define LCD_TIMEOUT_TO_STATUS 15000
484 484
 
485
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
485
+/**
486
+ * LED Control Menu
487
+ * Enable this feature to add LED Control to the LCD menu
488
+ */
489
+//#define LED_CONTROL_MENU
486 490
 #if ENABLED(LED_CONTROL_MENU)
487
-
488
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
489
-    #if ENABLED(LED_COLOR_PRESETS)
490
-      #define LED_USER_PRESET_RED       255   // User defined RED value
491
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
492
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
493
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
494
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
495
-    #endif
496
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
491
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
492
+  #if ENABLED(LED_COLOR_PRESETS)
493
+    #define LED_USER_PRESET_RED        255  // User defined RED value
494
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
495
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
496
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
497
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
498
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
499
+  #endif
497 500
 #endif // LED_CONTROL_MENU
498 501
 
499 502
 #if ENABLED(SDSUPPORT)

+ 14
- 11
Marlin/src/config/examples/wt150/Configuration_adv.h View File

@@ -483,18 +483,21 @@
483 483
 // The timeout (in ms) to return to the status screen from sub-menus
484 484
 //#define LCD_TIMEOUT_TO_STATUS 15000
485 485
 
486
-//#define LED_CONTROL_MENU                       // Uncomment to enable the LED control menu option.
486
+/**
487
+ * LED Control Menu
488
+ * Enable this feature to add LED Control to the LCD menu
489
+ */
490
+//#define LED_CONTROL_MENU
487 491
 #if ENABLED(LED_CONTROL_MENU)
488
-
489
-  #define LED_COLOR_PRESETS                   // Uncomment to enable the preset color menu option.
490
-    #if ENABLED(LED_COLOR_PRESETS)
491
-      #define LED_USER_PRESET_RED       255   // User defined RED value
492
-      #define LED_USER_PRESET_GREEN     128   // User defined GREEN value
493
-      #define LED_USER_PRESET_BLUE        0   // User defined BLUE value
494
-      #define LED_USER_PRESET_WHITE     255   // User defined WHITE value
495
-      #define LED_USER_PRESET_INTENSITY 255   // User defined intensity
496
-    #endif
497
-    //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
492
+  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
493
+  #if ENABLED(LED_COLOR_PRESETS)
494
+    #define LED_USER_PRESET_RED        255  // User defined RED value
495
+    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
496
+    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
497
+    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
498
+    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
499
+    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
500
+  #endif
498 501
 #endif // LED_CONTROL_MENU
499 502
 
500 503
 #if ENABLED(SDSUPPORT)

+ 23
- 0
Marlin/src/inc/Conditionals_post.h View File

@@ -1178,6 +1178,29 @@
1178 1178
   #define MAX_VFAT_ENTRIES (2)
1179 1179
 #endif
1180 1180
 
1181
+// Set defaults for unspecified LED user colors
1182
+#if ENABLED(LED_CONTROL_MENU)
1183
+  #ifndef LED_USER_PRESET_RED
1184
+    #define LED_USER_PRESET_RED       255
1185
+  #endif
1186
+  #ifndef LED_USER_PRESET_GREEN
1187
+    #define LED_USER_PRESET_GREEN     255
1188
+  #endif
1189
+  #ifndef LED_USER_PRESET_BLUE
1190
+    #define LED_USER_PRESET_BLUE      255
1191
+  #endif
1192
+  #ifndef LED_USER_PRESET_WHITE
1193
+    #define LED_USER_PRESET_WHITE     0
1194
+  #endif
1195
+  #ifndef LED_USER_PRESET_BRIGHTNESS
1196
+    #ifdef NEOPIXEL_BRIGHTNESS
1197
+      #define LED_USER_PRESET_BRIGHTNESS NEOPIXEL_BRIGHTNESS
1198
+    #else
1199
+      #define LED_USER_PRESET_BRIGHTNESS 255
1200
+    #endif
1201
+  #endif
1202
+#endif
1203
+
1181 1204
 // Force SDCARD_SORT_ALPHA to be enabled for Graphical LCD on LPC1768
1182 1205
 // because of a bug in the shared SPI implementation. (See #8122)
1183 1206
 #if defined(TARGET_LPC1768) && ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)

+ 1
- 0
Marlin/src/inc/MarlinConfig.h View File

@@ -32,6 +32,7 @@
32 32
 #endif
33 33
 #include "Conditionals_post.h"
34 34
 #include "SanityCheck.h"
35
+#include "../HAL/HAL_SanityCheck.h"
35 36
 
36 37
 // Include all core headers
37 38
 #include "../core/enum.h"

+ 3
- 1
Marlin/src/inc/SanityCheck.h View File

@@ -1479,6 +1479,8 @@ static_assert(COUNT(sanity_arr_3) <= XYZE_N, "DEFAULT_MAX_ACCELERATION has too m
1479 1479
   #error "BLOCK_BUFFER_SIZE must be a power of 2."
1480 1480
 #endif
1481 1481
 
1482
-#include "../HAL/HAL_SanityCheck.h"  // get CPU specific checks
1482
+#if ENABLED(LED_CONTROL_MENU) && DISABLED(ULTIPANEL)
1483
+  #error "LED_CONTROL_MENU requires an LCD controller."
1484
+#endif
1483 1485
 
1484 1486
 #endif // _SANITYCHECK_H_

Loading…
Cancel
Save