summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/yang/config.h
diff options
context:
space:
mode:
authorChristopher Browne <cbbrowne@ca.afilias.info>2016-06-24 12:19:34 -0400
committerChristopher Browne <cbbrowne@ca.afilias.info>2016-06-24 12:19:34 -0400
commit4d79e224384464c8b42c770b3da09b9655d359e7 (patch)
tree7d14e742352d2237ab19fe49985bbacef47d7e6d /keyboards/planck/keymaps/yang/config.h
parenta4bdb0ac0e6d44c9c9a2d8910a5ca5b7fb49fcbf (diff)
parent40bfc7231e87c883c840967fdbe42a7c711805be (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/planck/keymaps/yang/config.h')
-rw-r--r--keyboards/planck/keymaps/yang/config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/yang/config.h b/keyboards/planck/keymaps/yang/config.h
new file mode 100644
index 0000000000..5921e9377c
--- /dev/null
+++ b/keyboards/planck/keymaps/yang/config.h
@@ -0,0 +1,15 @@
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+/* ws2812 RGB LED */
+#define ws2812_PORTREG PORTD
+#define ws2812_DDRREG DDRD
+#define ws2812_pin PD1
+#define RGBLED_NUM 28 // Number of LEDs
+#define RGBLIGHT_HUE_STEP 10
+#define RGBLIGHT_SAT_STEP 17
+#define RGBLIGHT_VAL_STEP 17
+
+#endif