[2.0.x] Option to use Neopixel as case light (#9270)
* Add option to use Neopixel as case light * Apply CASE_LIGHT_USE_NEOPIXEL to example configs
This commit is contained in:
		@@ -243,6 +243,10 @@
 | 
			
		||||
  #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
 | 
			
		||||
  #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
 | 
			
		||||
  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
 | 
			
		||||
  //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
 | 
			
		||||
  #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
 | 
			
		||||
    #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
 | 
			
		||||
  #endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
//===========================================================================
 | 
			
		||||
 
 | 
			
		||||
@@ -243,6 +243,10 @@
 | 
			
		||||
  #define CASE_LIGHT_DEFAULT_ON true          // Set default power-up state on
 | 
			
		||||
  #define CASE_LIGHT_DEFAULT_BRIGHTNESS 105   // Set default power-up brightness (0-255, requires PWM pin)
 | 
			
		||||
  //#define MENU_ITEM_CASE_LIGHT              // Add a Case Light option to the LCD main menu
 | 
			
		||||
  //#define CASE_LIGHT_USE_NEOPIXEL           // Use Neopixel LED as case light, requires NEOPIXEL_LED.
 | 
			
		||||
  #if ENABLED(CASE_LIGHT_USE_NEOPIXEL)
 | 
			
		||||
    #define CASE_LIGHT_NEOPIXEL_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
 | 
			
		||||
  #endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
//===========================================================================
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user