瀏覽代碼

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

Hannes Brandstätter-Müller 6 年之前
父節點
當前提交
a3e8cb1e44

+ 1
- 1
Marlin/src/config/examples/Creality/Ender-4/Configuration.h 查看文件

74
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
74
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
75
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
75
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
76
 // build by the user have been successfully uploaded into firmware.
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
 #define SHOW_BOOTSCREEN
78
 #define SHOW_BOOTSCREEN
79
 #define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
79
 #define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
80
 #define STRING_SPLASH_LINE2 WEBSITE_URL         // will be shown during bootup in line 2
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 查看文件

261
 /**
261
 /**
262
  * M355 Case Light on-off / brightness
262
  * M355 Case Light on-off / brightness
263
  */
263
  */
264
-//#define CASE_LIGHT_ENABLE
264
+#define CASE_LIGHT_ENABLE
265
 #if ENABLED(CASE_LIGHT_ENABLE)
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
   #define INVERT_CASE_LIGHT false             // Set true if Case Light is ON when pin is LOW
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
   #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
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
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
271
   //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
272
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
272
   #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
273
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
273
     #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }

+ 6
- 0
Marlin/src/pins/pins_RAMPS_ENDER_4.h 查看文件

27
 #define BOARD_NAME "Ender-4"
27
 #define BOARD_NAME "Ender-4"
28
 
28
 
29
 #include "pins_RAMPS.h"
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

Loading…
取消
儲存