diff options
author | Erez Zukerman <bulk@ezuk.org> | 2016-11-29 08:16:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-29 08:16:04 -0500 |
commit | 51ae6da99edd732ccdec6e102bd757e08950d23b (patch) | |
tree | 53e316e1fbe468e0b1f65fd11e161ebc74c6ef70 /keyboards/ergodox/ez/config.h | |
parent | 7b219a7f6016dfe80c1c3db33bcf859e3e355d8d (diff) | |
parent | f946d830f98da0161753d37da9659caa7469cf4f (diff) |
Merge pull request #918 from jackhumbert/wu5y7
Adds Ergodox EZ RGB lights (both sides using I2C) and implements API base, Midi SysEx API
Diffstat (limited to 'keyboards/ergodox/ez/config.h')
-rw-r--r-- | keyboards/ergodox/ez/config.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/ergodox/ez/config.h b/keyboards/ergodox/ez/config.h index 084a044ee1..c2750a321f 100644 --- a/keyboards/ergodox/ez/config.h +++ b/keyboards/ergodox/ez/config.h @@ -21,6 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "../config.h" +#include "config_common.h" + /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x1307 @@ -39,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 |