aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/kc60/keymaps/ws2812/config.h
diff options
context:
space:
mode:
authorGravatar Christopher Browne <cbbrowne@ca.afilias.info>2016-06-22 11:26:26 -0400
committerGravatar Christopher Browne <cbbrowne@ca.afilias.info>2016-06-22 11:26:26 -0400
commitb0caf32741cf415a45333828f1661d9f6b72570f (patch)
tree5e2b8203ab232c0a89264e96716ebf1a859f6189 /keyboards/kc60/keymaps/ws2812/config.h
parentee3c7892ad585e2e702d8975420d25ae052d97bb (diff)
parent8c1bfdf0bd9aae13d8722fd107deca40ffc7932c (diff)
downloadqmk_firmware-b0caf32741cf415a45333828f1661d9f6b72570f.tar.gz
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
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