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
co-authored by Joel Challis
parent f91ca76c78
commit c9cf9712aa
233 changed files with 309 additions and 191 deletions
-1
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
+3
View File
@@ -1,4 +1,7 @@
{
"rgblight": {
"split_count": [1, 1]
},
"ws2812": {
"pin": "D2"
},
-1
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
+2 -1
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"],