summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/keymaps/yang/config.h
diff options
context:
space:
mode:
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