1
0
Fork 0

Move RGBLIGHT_LIMIT_VAL to data driven (#20974)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-05-27 12:27:44 +10:00 committed by GitHub
parent 8fdcba12e6
commit 363bfdbfda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
679 changed files with 649 additions and 493 deletions

View file

@ -8,7 +8,6 @@
#define RGBLED_NUM 88
#define RGBLED_SPLIT { 44, 44 }
#define RGBLIGHT_SPLIT
#define RGBLIGHT_LIMIT_VAL 120 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
#define RGB_MATRIX_LED_COUNT 88
#define RGB_MATRIX_SPLIT { 44, 44 }

View file

@ -14,6 +14,9 @@
"rgb_matrix": {
"driver": "WS2812"
},
"rgblight": {
"max_brightness": 120
},
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["C6", "D7", "E6", "B4", "B5"]