aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/kc60/keymaps/ws2812
diff options
context:
space:
mode:
authorGravatar Jack Humbert <jack.humb@gmail.com>2016-07-07 11:33:32 -0400
committerGravatar Jack Humbert <jack.humb@gmail.com>2016-07-07 11:33:34 -0400
commit57e08eb8badc5db2fb44d2df684f32ea48cce411 (patch)
tree51eede58af359c5c98a080ae359b545a23dd5ad8 /keyboards/kc60/keymaps/ws2812
parentad43d450ca1b988d196da80e2a745f45f24068f6 (diff)
downloadqmk_firmware-57e08eb8badc5db2fb44d2df684f32ea48cce411.tar.gz
updates rgblight implementation, makes non-timer stuff compatible with audio
Diffstat (limited to 'keyboards/kc60/keymaps/ws2812')
-rw-r--r--keyboards/kc60/keymaps/ws2812/config.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/kc60/keymaps/ws2812/config.h b/keyboards/kc60/keymaps/ws2812/config.h
index 933bb0d2d..2f39ea8e5 100644
--- a/keyboards/kc60/keymaps/ws2812/config.h
+++ b/keyboards/kc60/keymaps/ws2812/config.h
@@ -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