Browse Source

add start of rgb config

Jack Humbert 7 years ago
parent
commit
8a7dac1a97
2 changed files with 8 additions and 0 deletions
  1. 7 0
      keyboards/planck/ez/config.h
  2. 1 0
      keyboards/planck/ez/rules.mk

+ 7 - 0
keyboards/planck/ez/config.h

@@ -135,4 +135,11 @@
 //#define WS2812_DMA_CHANNEL 7                  // DMA channel for TIMx_UP
 //#define WS2812_EXTERNAL_PULLUP
 
+#define DRIVER_ADDR_1 0b1010000
+#define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
+
+#define DRIVER_COUNT 1
+#define DRIVER_1_LED_TOTAL 47
+#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
+
 #endif

+ 1 - 0
keyboards/planck/ez/rules.mk

@@ -53,4 +53,5 @@ NKRO_ENABLE = yes	    # USB Nkey Rollover
 CUSTOM_MATRIX = yes # Custom matrix file
 AUDIO_ENABLE = yes
 RGBLIGHT_ENABLE = no
+RGB_MATRIX_ENABLE = IS31FL3733
 # SERIAL_LINK_ENABLE = yes