From 9d88b34fb1715646b16b7202682cce725560fef4 Mon Sep 17 00:00:00 2001 From: Louis Orleans Date: Fri, 22 Sep 2017 18:43:52 -0700 Subject: [PATCH] feat(planck): RGB under-lighting --- keyboards/planck/keymaps/dudeofawesome/config.h | 3 ++- keyboards/planck/keymaps/dudeofawesome/rules.mk | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/keyboards/planck/keymaps/dudeofawesome/config.h b/keyboards/planck/keymaps/dudeofawesome/config.h index 3353a716c4..301aab2574 100644 --- a/keyboards/planck/keymaps/dudeofawesome/config.h +++ b/keyboards/planck/keymaps/dudeofawesome/config.h @@ -41,7 +41,8 @@ /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ //#define MIDI_TONE_KEYCODE_OCTAVES 2 -#define RGB_DI_PIN D7 // The pin the LED strip is connected to +#define RGB_DI_PIN D2 // The pin the LED strip is connected to #define RGBLED_NUM 3 // Number of LEDs in your strip +#define RGBLIGHT_ANIMATIONS #endif diff --git a/keyboards/planck/keymaps/dudeofawesome/rules.mk b/keyboards/planck/keymaps/dudeofawesome/rules.mk index edeab16439..71b0f5e4bf 100644 --- a/keyboards/planck/keymaps/dudeofawesome/rules.mk +++ b/keyboards/planck/keymaps/dudeofawesome/rules.mk @@ -2,9 +2,9 @@ ifndef QUANTUM_DIR include ../../../../Makefile endif -AUDIO_ENABLE = yes # Audio output on port C6 +AUDIO_ENABLE = no # Audio output on port C6 CONSOLE_ENABLE = no # Console for debug(+400) MIDI_ENABLE = no # MIDI controls MOUSEKEY_ENABLE = no # Mouse keys(+4700) NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. +RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.