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
				
			
		| 
						 | 
				
			
			@ -60,9 +60,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
)
 | 
			
		||||
 | 
			
		||||
/* ws2812 RGB LED */
 | 
			
		||||
#define ws2812_PORTREG  PORTD
 | 
			
		||||
#define ws2812_DDRREG   DDRD
 | 
			
		||||
#define ws2812_pin PD1
 | 
			
		||||
#define RGB_DI_PIN D1
 | 
			
		||||
#define RGBLIGHT_TIMER
 | 
			
		||||
#define RGBLED_NUM 28     // Number of LEDs
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 10
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 17
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue