mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-07 06:57:39 -06:00
NEOPIXEL_BKGD_ALWAYS_ON, CASE_LIGHT_USE_RGB_LED
MarlinFirmware/Marlin#20341
This commit is contained in:
parent
6e05fb95b8
commit
1fea9ed5d4
467 changed files with 2449 additions and 1102 deletions
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2611,6 +2611,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2585,6 +2585,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2585,6 +2585,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2595,6 +2595,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2674,6 +2674,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2676,6 +2676,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2585,6 +2585,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#define CASE_LIGHT_DEFAULT_ON true // Set default power-up state on
|
||||||
#define CASE_LIGHT_DEFAULT_BRIGHTNESS 255 // Set default power-up brightness (0-255, requires PWM pin)
|
#define CASE_LIGHT_DEFAULT_BRIGHTNESS 255 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2586,6 +2586,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2586,6 +2586,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2676,6 +2676,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2589,6 +2589,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2589,6 +2589,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2587,6 +2587,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2586,6 +2586,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2586,6 +2586,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2622,6 +2622,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2622,6 +2622,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2622,6 +2622,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2622,6 +2622,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2611,6 +2611,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2611,6 +2611,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2611,6 +2611,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2588,6 +2588,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2586,6 +2586,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2618,6 +2618,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2585,6 +2585,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -513,12 +513,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2600,6 +2600,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2589,6 +2589,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2589,6 +2589,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2585,6 +2585,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2598,6 +2598,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2585,6 +2585,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2585,6 +2585,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2600,6 +2600,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2585,6 +2585,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2585,6 +2585,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2593,6 +2593,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2584,6 +2584,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2597,6 +2597,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2587,6 +2587,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2612,6 +2612,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -509,12 +509,17 @@
|
||||||
#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 true // Set default power-up state on
|
#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 CASE_LIGHT_DEFAULT_BRIGHTNESS 105 // Set default power-up brightness (0-255, requires PWM pin)
|
||||||
//#define CASE_LIGHT_MAX_PWM 128 // Limit pwm
|
|
||||||
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
|
||||||
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
//#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
|
||||||
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light, requires NEOPIXEL_LED.
|
//#define CASE_LIGHT_MAX_PWM 128 // Limit PWM duty cycle (0-255)
|
||||||
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
//#define CASE_LIGHT_MENU // Add Case Light options to the LCD menu
|
||||||
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
#if ENABLED(NEOPIXEL_LED)
|
||||||
|
//#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
||||||
|
#if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||||
|
#define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#if EITHER(RGB_LED, RGBW_LED)
|
||||||
|
//#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -2593,6 +2593,7 @@
|
||||||
// Use a single NeoPixel LED for static (background) lighting
|
// Use a single NeoPixel LED for static (background) lighting
|
||||||
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
//#define NEOPIXEL_BKGD_LED_INDEX 0 // Index of the LED to use
|
||||||
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
||||||
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue