parent
7640b328df
commit
d71dc5cf42
@ -267,7 +267,7 @@
|
|||||||
*/
|
*/
|
||||||
#define CASE_LIGHT_ENABLE
|
#define CASE_LIGHT_ENABLE
|
||||||
#if ENABLED(CASE_LIGHT_ENABLE)
|
#if ENABLED(CASE_LIGHT_ENABLE)
|
||||||
#define CASE_LIGHT_PIN ENDER4_FAN_PIN // Override the default pin if needed
|
//#define CASE_LIGHT_PIN 4 // Override the default pin if needed
|
||||||
#define INVERT_CASE_LIGHT false // Set true if Case Light is ON when pin is LOW
|
#define INVERT_CASE_LIGHT false // Set true if Case Light is ON when pin is LOW
|
||||||
#define CASE_LIGHT_DEFAULT_ON false // Set default power-up state on
|
#define CASE_LIGHT_DEFAULT_ON false // Set default power-up state on
|
||||||
#define CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
#define CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
|
@ -28,8 +28,13 @@
|
|||||||
|
|
||||||
#include "pins_RAMPS.h"
|
#include "pins_RAMPS.h"
|
||||||
|
|
||||||
// The board only has one controllable fan connector, the others are just plain 12V connectors
|
// The board only has one PWM fan connector. The others are 12V always-on.
|
||||||
// in the default configuration, this is used to control the brightness of the LED band
|
// The default config uses this pin to control the brightness of the LED
|
||||||
// hotend and controller fan are therefore always-on
|
// band (case light). Thus the hotend and controller fans are always-on.
|
||||||
#define ENDER4_FAN_PIN RAMPS_D9_PIN
|
|
||||||
#undef FAN_PIN
|
#if ENABLED(CASE_LIGHT_ENABLE)
|
||||||
|
#undef FAN_PIN
|
||||||
|
#ifndef CASE_LIGHT_PIN
|
||||||
|
#define CASE_LIGHT_PIN RAMPS_D9_PIN
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user