aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/kc60/keymaps/ws2812/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kc60/keymaps/ws2812/config.h')
-rw-r--r--keyboards/kc60/keymaps/ws2812/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/kc60/keymaps/ws2812/config.h b/keyboards/kc60/keymaps/ws2812/config.h
new file mode 100644
index 000000000..933bb0d2d
--- /dev/null
+++ b/keyboards/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