Quellcode durchsuchen

[2.0.x] Ender-4 small improvements in Configuration (#11843)

Hannes Brandstätter-Müller vor 6 Jahren
Ursprung
Commit
a3e8cb1e44

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-4/Configuration.h Datei anzeigen

@@ -74,7 +74,7 @@
74 74
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
75 75
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
76 76
 // build by the user have been successfully uploaded into firmware.
77
-#define STRING_CONFIG_H_AUTHOR "Skorpi, Creality Ender-4)" // Who made the changes.
77
+#define STRING_CONFIG_H_AUTHOR "(Skorpi, Creality Ender-4, brandstaetter)" // Who made the changes.
78 78
 #define SHOW_BOOTSCREEN
79 79
 #define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
80 80
 #define STRING_SPLASH_LINE2 WEBSITE_URL         // will be shown during bootup in line 2

+ 4
- 4
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h Datei anzeigen

@@ -261,13 +261,13 @@
261 261
 /**
262 262
  * M355 Case Light on-off / brightness
263 263
  */
264
-//#define CASE_LIGHT_ENABLE
264
+#define CASE_LIGHT_ENABLE
265 265
 #if ENABLED(CASE_LIGHT_ENABLE)
266
-  //#define CASE_LIGHT_PIN 4                  // Override the default pin if needed
266
+  #define CASE_LIGHT_PIN ENDER4_FAN_PIN      // Override the default pin if needed
267 267
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
268
-  #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
268
+  #define CASE_LIGHT_DEFAULT_ON false         // Set default power-up state on
269 269
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
270
-  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
270
+  #define MENU_ITEM_CASE_LIGHT                // Add a Case Light option to the LCD main menu
271 271
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
272 272
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
273 273
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 6
- 0
Marlin/src/pins/pins_RAMPS_ENDER_4.h Datei anzeigen

@@ -27,3 +27,9 @@
27 27
 #define BOARD_NAME "Ender-4"
28 28
 
29 29
 #include "pins_RAMPS.h"
30
+
31
+// The board only has one controllable fan connector, the others are just plain 12V connectors
32
+// in the default configuration, this is used to control the brightness of the LED band
33
+// hotend and controller fan are therefore always-on
34
+#define ENDER4_FAN_PIN RAMPS_D9_PIN
35
+#undef FAN_PIN

Laden…
Abbrechen
Speichern