[Keyboard] Crkbd RGB Matrix config with WS2812 (#5627)
This commit is contained in:
committed by
Drashna Jaelre
parent
838d09b0a9
commit
565a7812ab
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user