1
0
Fork 0

Migrate RGB Matrix config to info.json - H (#22861)

This commit is contained in:
Joel Challis 2024-01-08 02:15:50 +00:00 committed by GitHub
parent c7b59a96df
commit a45107e152
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 413 additions and 681 deletions

View file

@ -18,6 +18,4 @@
#pragma once
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
#define RGB_MATRIX_LED_COUNT 20
#define I2C1_CLOCK_SPEED 100000
#define RGB_MATRIX_CENTER { 40, 30 }

View file

@ -13,6 +13,7 @@
"nkro": true
},
"rgb_matrix": {
"center_point": [40, 30],
"driver": "is31fl3731"
},
"matrix_pins": {

View file

@ -60,7 +60,7 @@ led_config_t g_led_config = {
{ 11, 12, 13, 14, 15 },
{ 16, 17, 18, 19, 19 },
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
{ NO_LED, NO_LED }
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }
},
// LED index to physical location