|
|
|
@ -223,16 +223,14 @@
|
|
|
|
|
/**
|
|
|
|
|
* M355 Case Light on-off / brightness
|
|
|
|
|
*/
|
|
|
|
|
//#define CASE_LIGHT_ENABLE
|
|
|
|
|
#if ENABLED(CASE_LIGHT_ENABLE)
|
|
|
|
|
#define CASE_LIGHT_PIN 4 // can be defined here or in the pins_XXX.h file for your board
|
|
|
|
|
// pins_XXX.h file overrides this one
|
|
|
|
|
#define INVERT_CASE_LIGHT false // set to true if case light is ON when pin is at 0
|
|
|
|
|
#define CASE_LIGHT_DEFAULT_ON true // set default power up state to on or off
|
|
|
|
|
#define CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // set power up brightness 0-255 ( only used if on PWM
|
|
|
|
|
// and if CASE_LIGHT_DEFAULT is set to on
|
|
|
|
|
//#define MENU_ITEM_CASE_LIGHT // Uncomment to have a Case Light entry in main menu
|
|
|
|
|
#endif
|
|
|
|
|
//#define CASE_LIGHT_ENABLE
|
|
|
|
|
#if ENABLED(CASE_LIGHT_ENABLE)
|
|
|
|
|
//#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 CASE_LIGHT_DEFAULT_ON true // Set default power-up state on
|
|
|
|
|
#define CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
|
|
|
|
//#define MENU_ITEM_CASE_LIGHT // Add a Case Light option to the LCD main menu
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
//============================ Mechanical Settings ==========================
|
|
|
|
@ -1022,7 +1020,7 @@
|
|
|
|
|
*/
|
|
|
|
|
#define TMC2130_ADV() { }
|
|
|
|
|
|
|
|
|
|
#endif // ENABLED(HAVE_TMC2130)
|
|
|
|
|
#endif // HAVE_TMC2130
|
|
|
|
|
|
|
|
|
|
// @section L6470
|
|
|
|
|
|
|
|
|
|