summaryrefslogtreecommitdiff
path: root/keyboard/planck/config.h
diff options
context:
space:
mode:
authorPeter Eichinger <peter.eichinger@gmail.com>2016-01-25 17:46:50 +0100
committerPeter Eichinger <peter.eichinger@gmail.com>2016-01-25 17:46:50 +0100
commit78192791bc0bb98d7a469f88a77febb3250c5b93 (patch)
treec20d43cfa5cc4980f8dcf967832e8c913bb84bbe /keyboard/planck/config.h
parentc5f90eb99b282c7425e151b82f0ca22969a4a275 (diff)
parente9356dcad5769bc917ab9d3366013b5f193c3ef3 (diff)
Merge branch 'master' into flicker-fix
Diffstat (limited to 'keyboard/planck/config.h')
-rw-r--r--keyboard/planck/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboard/planck/config.h b/keyboard/planck/config.h
index a4c711db82..d3719e0cb1 100644
--- a/keyboard/planck/config.h
+++ b/keyboard/planck/config.h
@@ -58,6 +58,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
+/* 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
+
/*
* Feature disable options
* These options are also useful to firmware size reduction.