diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-11-29 00:09:56 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-11-29 00:09:56 -0500 |
commit | d0cefef946660865dae80877886fcce610920a27 (patch) | |
tree | 7bf1c6b5456f082265d670d31d34fa1c622aece2 /keyboards/ergodox/ez | |
parent | 06f18e95d4670a055ca349da7d653e0bcb37d83a (diff) | |
download | qmk_firmware-d0cefef946660865dae80877886fcce610920a27.tar.gz qmk_firmware-d0cefef946660865dae80877886fcce610920a27.zip |
enable rgblight by default for ez
Diffstat (limited to 'keyboards/ergodox/ez')
-rw-r--r-- | keyboards/ergodox/ez/config.h | 11 | ||||
-rw-r--r-- | keyboards/ergodox/ez/rules.mk | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/ergodox/ez/config.h b/keyboards/ergodox/ez/config.h index 67a856e511..c2750a321f 100644 --- a/keyboards/ergodox/ez/config.h +++ b/keyboards/ergodox/ez/config.h @@ -41,6 +41,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define LED_BRIGHTNESS_LO 15 #define LED_BRIGHTNESS_HI 255 +/* ws2812 RGB LED */ +#define RGB_DI_PIN D7 +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 15 // Number of LEDs +#define RGBLIGHT_HUE_STEP 12 +#define RGBLIGHT_SAT_STEP 255 +#define RGBLIGHT_VAL_STEP 12 + +#define RGB_MIDI +#define RGBW_BB_TWI + /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/ergodox/ez/rules.mk b/keyboards/ergodox/ez/rules.mk index f570061fe4..893cfa7a84 100644 --- a/keyboards/ergodox/ez/rules.mk +++ b/keyboards/ergodox/ez/rules.mk @@ -73,6 +73,7 @@ OPT_DEFS += -DBOOTLOADER_SIZE=512 SLEEP_LED_ENABLE = no API_SYSEX_ENABLE ?= yes +RGBLIGHT_ENABLE ?= yes ifndef QUANTUM_DIR include ../../../Makefile |