Move RGBLED_SPLIT to data driven (#21113)

Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
Ryan 2023-06-06 11:08:04 +10:00 committed by GitHub
parent f91ca76c78
commit c9cf9712aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
233 changed files with 309 additions and 191 deletions

View file

@ -21,7 +21,6 @@
#define SELECT_SOFT_SERIAL_SPEED 0
#define RGBLED_NUM 24
#define RGBLED_SPLIT { 12, 12 }
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View file

@ -25,6 +25,9 @@
}
}
},
"rgblight": {
"split_count": [12, 12]
},
"ws2812": {
"pin": "B4",
"driver": "pwm"

View file

@ -22,7 +22,6 @@
#define SERIAL_USART_SPEED 921600
#define RGBLED_NUM 48
#define RGBLED_SPLIT {24, 24}
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View file

@ -23,7 +23,8 @@
"driver": "pwm"
},
"rgblight": {
"max_brightness": 120
"max_brightness": 120,
"split_count": [24, 24]
},
"split": {
"soft_serial_pin": "B6",