Added WS2812 support for KC60 (#419)
* Added WS2812 support for KC60 * Reorganized WS2812 support into its own keymap * Fixed relative link in README * Moved WS2812 mention in README to the bottom * Fixed titling in WS2812 README * Reverted KC60 Makefile and default keymap back * Moved RGB specific config.h to ws2812 keymap folder
This commit is contained in:
committed by
Jack Humbert
parent
3f6fac4721
commit
3302258abd
10
keyboard/kc60/keymaps/ws2812/config.h
Normal file
10
keyboard/kc60/keymaps/ws2812/config.h
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user