summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/ez
diff options
context:
space:
mode:
authorErez Zukerman <ezukerman@godaddy.com>2016-11-28 13:55:02 +0100
committerErez Zukerman <ezukerman@godaddy.com>2016-11-28 13:55:02 +0100
commit2d0ada01902a0103dc4f4f54a416f0666c641b5b (patch)
tree1fe5354b79d6762a76faf891157f501c093e2967 /keyboards/ergodox/ez
parent7edac212c8ed8442bf4207e70dc8194631b2bf27 (diff)
downloadqmk_firmware-2d0ada01902a0103dc4f4f54a416f0666c641b5b.tar.gz
qmk_firmware-2d0ada01902a0103dc4f4f54a416f0666c641b5b.tar.xz
Pulls LED config into common config for EZ
Diffstat (limited to 'keyboards/ergodox/ez')
-rw-r--r--keyboards/ergodox/ez/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/ergodox/ez/config.h b/keyboards/ergodox/ez/config.h
index 67a856e51..0b7e8b2ee 100644
--- a/keyboards/ergodox/ez/config.h
+++ b/keyboards/ergodox/ez/config.h
@@ -45,6 +45,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
+/* 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
+
/*
* Feature disable options
* These options are also useful to firmware size reduction.