1
0
Fork 0

updates rgblight implementation, makes non-timer stuff compatible with audio

This commit is contained in:
Jack Humbert 2016-07-07 11:33:32 -04:00
parent ad43d450ca
commit 57e08eb8ba
17 changed files with 160 additions and 74 deletions

View file

@ -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