1
0
Fork 0

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 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 1, 1 }
#define RGBLED_NUM 2
#define RGBLIGHT_LAYERS
#define RGBLIGHT_HUE_STEP 10

View file

@ -1,4 +1,7 @@
{
"rgblight": {
"split_count": [1, 1]
},
"ws2812": {
"pin": "D2"
},

View file

@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 38, 46 }
#define RGBLED_NUM 84
#define RGBLIGHT_LAYERS
#define RGBLIGHT_HUE_STEP 10

View file

@ -3,7 +3,8 @@
"pin": "D2"
},
"rgblight": {
"max_brightness": 195
"max_brightness": 195,
"split_count": [38, 46]
},
"matrix_pins": {
"cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4", "D3"],