updates rgblight implementation, makes non-timer stuff compatible with audio
This commit is contained in:
		
							parent
							
								
									ad43d450ca
								
							
						
					
					
						commit
						57e08eb8ba
					
				
					 17 changed files with 160 additions and 74 deletions
				
			
		| 
						 | 
				
			
			@ -1,9 +1,8 @@
 | 
			
		|||
#include "../../config.h"
 | 
			
		||||
 | 
			
		||||
/* WS2812B RGB Underglow LED */
 | 
			
		||||
#define ws2812_PORTREG  PORTF
 | 
			
		||||
#define ws2812_DDRREG   DDRF
 | 
			
		||||
#define ws2812_pin PF5        // Based on wiring depicted in ws2812_wiring.jpg
 | 
			
		||||
#define RGB_DI_PIN F5   // Based on wiring depicted in ws2812_wiring.jpg
 | 
			
		||||
#define RGBLIGHT_TIMER       
 | 
			
		||||
#define RGBLED_NUM 16         // Number of LEDs. Change this to match your use case.
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 8
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 8
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue