diff options
Diffstat (limited to 'keyboard/kc60/keymaps/ws2812/config.h')
-rw-r--r-- | keyboard/kc60/keymaps/ws2812/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboard/kc60/keymaps/ws2812/config.h b/keyboard/kc60/keymaps/ws2812/config.h new file mode 100644 index 000000000..933bb0d2d --- /dev/null +++ b/keyboard/kc60/keymaps/ws2812/config.h @@ -0,0 +1,10 @@ +#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 RGBLED_NUM 16 // Number of LEDs. Change this to match your use case. +#define RGBLIGHT_HUE_STEP 8 +#define RGBLIGHT_SAT_STEP 8 +#define RGBLIGHT_VAL_STEP 8 |