Move RGBLED_SPLIT to data driven (#21113)
Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
@@ -4,5 +4,4 @@
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
#define RGBLIGHT_SPLIT
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
{"pin_a": "B5", "pin_b": "F4", "resolution": 2}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
||||
@@ -4,5 +4,4 @@
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLED_SPLIT { 7, 7 }
|
||||
#define RGBLIGHT_SPLIT
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [7, 7]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
# define RGBLED_NUM 64
|
||||
# define RGBLED_SPLIT { 32, 32 }
|
||||
# define RGBLIGHT_SPLIT
|
||||
# define RGBLIGHT_HUE_STEP 10
|
||||
# define RGBLIGHT_SAT_STEP 17
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 100
|
||||
"max_brightness": 100,
|
||||
"split_count": [32, 32]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
|
||||
Reference in New Issue
Block a user