[Keyboard] Crkbd RGB Matrix config with WS2812 (#5627)

This commit is contained in:
Rob Rogers
2019-04-16 12:29:48 -05:00
committed by Drashna Jaelre
parent 838d09b0a9
commit 565a7812ab
2 changed files with 178 additions and 0 deletions

View File

@@ -53,7 +53,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 12 // Number of LEDs
#endif
#ifdef RGB_MATRIX_ENABLE
#define RGBLED_NUM 54 // Number of LEDs
#define DRIVER_LED_TOTAL RGBLED_NUM
#endif
/*
* Feature disable options