Quellcode durchsuchen

Config updates, spacing mainly

Scott Lahteine vor 6 Jahren
Ursprung
Commit
1f770bb103
33 geänderte Dateien mit 448 neuen und 361 gelöschten Zeilen
  1. 1
    1
      .travis.yml
  2. 23
    0
      Marlin/Conditionals_post.h
  3. 14
    12
      Marlin/Configuration_adv.h
  4. 4
    0
      Marlin/SanityCheck.h
  5. 14
    12
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h
  6. 14
    12
      Marlin/example_configurations/Anet/A6/Configuration_adv.h
  7. 14
    12
      Marlin/example_configurations/Anet/A8/Configuration_adv.h
  8. 14
    12
      Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h
  9. 14
    12
      Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h
  10. 14
    12
      Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h
  11. 14
    12
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  12. 14
    12
      Marlin/example_configurations/Creality/CR-10/Configuration_adv.h
  13. 14
    12
      Marlin/example_configurations/Felix/Configuration_adv.h
  14. 14
    12
      Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h
  15. 14
    12
      Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h
  16. 14
    12
      Marlin/example_configurations/Malyan/M150/Configuration_adv.h
  17. 14
    12
      Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h
  18. 14
    12
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  19. 14
    12
      Marlin/example_configurations/SCARA/Configuration_adv.h
  20. 14
    12
      Marlin/example_configurations/Sanguinololu/Configuration_adv.h
  21. 14
    12
      Marlin/example_configurations/TinyBoy2/Configuration_adv.h
  22. 14
    12
      Marlin/example_configurations/Velleman/K8200/Configuration_adv.h
  23. 14
    12
      Marlin/example_configurations/Velleman/K8400/Configuration_adv.h
  24. 14
    12
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h
  25. 14
    12
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h
  26. 14
    12
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  27. 14
    12
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  28. 14
    12
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  29. 14
    12
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  30. 14
    12
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h
  31. 14
    12
      Marlin/example_configurations/makibox/Configuration_adv.h
  32. 14
    12
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  33. 14
    12
      Marlin/example_configurations/wt150/Configuration_adv.h

+ 1
- 1
.travis.yml Datei anzeigen

@@ -90,7 +90,7 @@ script:
90 90
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
91 91
   - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_LED
92 92
   - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
93
-  - opt_enable_adv FWRETRACT MAX7219_DEBUG
93
+  - opt_enable_adv FWRETRACT MAX7219_DEBUG LED_CONTROL_MENU
94 94
   - opt_set ABL_GRID_POINTS_X 16
95 95
   - opt_set ABL_GRID_POINTS_Y 16
96 96
   - opt_set_adv FANMUX0_PIN 53

+ 23
- 0
Marlin/Conditionals_post.h Datei anzeigen

@@ -1096,4 +1096,27 @@
1096 1096
     #define MAX_VFAT_ENTRIES (2)
1097 1097
   #endif
1098 1098
 
1099
+  // Set defaults for unspecified LED user colors
1100
+  #if ENABLED(LED_CONTROL_MENU)
1101
+    #ifndef LED_USER_PRESET_RED
1102
+      #define LED_USER_PRESET_RED       255
1103
+    #endif
1104
+    #ifndef LED_USER_PRESET_GREEN
1105
+      #define LED_USER_PRESET_GREEN     255
1106
+    #endif
1107
+    #ifndef LED_USER_PRESET_BLUE
1108
+      #define LED_USER_PRESET_BLUE      255
1109
+    #endif
1110
+    #ifndef LED_USER_PRESET_WHITE
1111
+      #define LED_USER_PRESET_WHITE     0
1112
+    #endif
1113
+    #ifndef LED_USER_PRESET_BRIGHTNESS
1114
+      #ifdef NEOPIXEL_BRIGHTNESS
1115
+        #define LED_USER_PRESET_BRIGHTNESS NEOPIXEL_BRIGHTNESS
1116
+      #else
1117
+        #define LED_USER_PRESET_BRIGHTNESS 255
1118
+      #endif
1119
+    #endif
1120
+  #endif
1121
+
1099 1122
 #endif // CONDITIONALS_POST_H

+ 14
- 12
Marlin/Configuration_adv.h Datei anzeigen

@@ -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)

+ 4
- 0
Marlin/SanityCheck.h Datei anzeigen

@@ -1514,3 +1514,7 @@ static_assert(COUNT(sanity_arr_3) <= XYZE_N, "DEFAULT_MAX_ACCELERATION has too m
1514 1514
 #if !BLOCK_BUFFER_SIZE || !IS_POWER_OF_2(BLOCK_BUFFER_SIZE)
1515 1515
   #error "BLOCK_BUFFER_SIZE must be a power of 2."
1516 1516
 #endif
1517
+
1518
+#if ENABLED(LED_CONTROL_MENU) && DISABLED(ULTIPANEL)
1519
+  #error "LED_CONTROL_MENU requires an LCD controller."
1520
+#endif

+ 14
- 12
Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/Anet/A6/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/Anet/A8/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/Cartesio/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/Creality/CR-10/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/Felix/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/Malyan/M150/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/RigidBot/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/SCARA/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/Sanguinololu/Configuration_adv.h Datei anzeigen

@@ -471,19 +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
-
485
-      //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
486
-    #endif
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
487 489
 #endif // LED_CONTROL_MENU
488 490
 
489 491
 #if ENABLED(SDSUPPORT)

+ 14
- 12
Marlin/example_configurations/TinyBoy2/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/Velleman/K8200/Configuration_adv.h Datei anzeigen

@@ -495,19 +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
-
509
-      //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
510
-    #endif
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
511 513
 #endif // LED_CONTROL_MENU
512 514
 
513 515
 #if ENABLED(SDSUPPORT)

+ 14
- 12
Marlin/example_configurations/Velleman/K8400/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h Datei anzeigen

@@ -484,19 +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
-
498
-      //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
499
-    #endif
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
500 502
 #endif // LED_CONTROL_MENU
501 503
 
502 504
 #if ENABLED(SDSUPPORT)

+ 14
- 12
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h Datei anzeigen

@@ -484,19 +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
-
498
-      //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
499
-    #endif
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
500 502
 #endif // LED_CONTROL_MENU
501 503
 
502 504
 #if ENABLED(SDSUPPORT)

+ 14
- 12
Marlin/example_configurations/delta/generic/Configuration_adv.h Datei anzeigen

@@ -484,19 +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
-
498
-      //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
499
-    #endif
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
500 502
 #endif // LED_CONTROL_MENU
501 503
 
502 504
 #if ENABLED(SDSUPPORT)

+ 14
- 12
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h Datei anzeigen

@@ -484,19 +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
-
498
-      //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
499
-    #endif
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
500 502
 #endif // LED_CONTROL_MENU
501 503
 
502 504
 #if ENABLED(SDSUPPORT)

+ 14
- 12
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h Datei anzeigen

@@ -489,19 +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
-
503
-      //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
504
-    #endif
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
505 507
 #endif // LED_CONTROL_MENU
506 508
 
507 509
 #if ENABLED(SDSUPPORT)

+ 14
- 12
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h Datei anzeigen

@@ -484,19 +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
-
498
-      //#define LED_USER_PRESET_STARTUP         // Have the printer display the user preset color on startup
499
-    #endif
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
500 502
 #endif // LED_CONTROL_MENU
501 503
 
502 504
 #if ENABLED(SDSUPPORT)

+ 14
- 12
Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/makibox/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h Datei anzeigen

@@ -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
- 12
Marlin/example_configurations/wt150/Configuration_adv.h Datei anzeigen

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

Laden…
Abbrechen
Speichern