Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
# define RGBLIGHT_EFFECT_RGB_TEST
|
||||
# define RGBLIGHT_EFFECT_ALTERNATING
|
||||
# define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 8 // Number of LEDs
|
||||
// #define RGBLIGHT_HUE_STEP 10
|
||||
// #define RGBLIGHT_SAT_STEP 17
|
||||
// #define RGBLIGHT_VAL_STEP 17
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
"pin": "B5",
|
||||
"levels": 4
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 8
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B4"
|
||||
},
|
||||
|
||||
@@ -28,4 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# define RGBLIGHT_EFFECT_RGB_TEST
|
||||
# define RGBLIGHT_EFFECT_ALTERNATING
|
||||
# define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 6 // Number of LEDs
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0x0007",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 6
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 10
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
"backlight": {
|
||||
"pin": "B5"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 10
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B4"
|
||||
},
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 30
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0x546F",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 30
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B5"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user