1
0

Move RGBLED_NUM to data driven (#21278)

This commit is contained in:
Ryan
2023-06-18 14:39:07 +10:00
committed by GitHub
parent 7178645be7
commit b1783db4ea
2160 changed files with 2194 additions and 2058 deletions

View File

@@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USE_I2C
/* ws2812 RGB LED */
#define RGBLED_NUM 2
#define RGBLIGHT_LAYERS
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17

View File

@@ -1,5 +1,6 @@
{
"rgblight": {
"led_count": 2,
"split_count": [1, 1]
},
"ws2812": {

View File

@@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Split hand configration */
#define SPLIT_HAND_MATRIX_GRID D4,D3
/* ws2812 RGB LED */
#define RGBLED_NUM 84
#define RGBLIGHT_LAYERS
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17

View File

@@ -3,6 +3,7 @@
"pin": "D2"
},
"rgblight": {
"led_count": 84,
"max_brightness": 195,
"split_count": [38, 46]
},

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 3
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)

View File

@@ -9,6 +9,9 @@
"device_version": "0.0.1",
"force_nkro": true
},
"rgblight": {
"led_count": 3
},
"ws2812": {
"pin": "D2"
},