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,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define USE_I2C
#define RGBLED_NUM 16
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -17,6 +17,7 @@
"soft_serial_pin": "D1"
},
"rgblight": {
"led_count": 16,
"split_count": [8, 8]
},
"ws2812": {

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 4
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -1,4 +1,7 @@
{
"rgblight": {
"led_count": 4
},
"ws2812": {
"pin": "F4"
},

View File

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 8
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -1,4 +1,7 @@
{
"rgblight": {
"led_count": 8
},
"ws2812": {
"pin": "D4"
},