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

@@ -39,7 +39,6 @@ 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 20
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -21,6 +21,7 @@
"soft_serial_pin": "D0"
},
"rgblight": {
"led_count": 20,
"split_count": [10, 10]
},
"ws2812": {

View File

@@ -39,7 +39,6 @@ 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 24
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -21,6 +21,7 @@
"soft_serial_pin": "D0"
},
"rgblight": {
"led_count": 24,
"led_map": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12],
"split_count": [12, 12]
},

View File

@@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 36
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 36,
"max_brightness": 100,
"split_count": [18, 18]
},

View File

@@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 42
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 42,
"max_brightness": 100,
"split_count": [21, 21]
},

View File

@@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 48
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 48,
"max_brightness": 100,
"split_count": [24, 24]
},

View File

@@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 48
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 48,
"max_brightness": 100,
"split_count": [24, 24]
},

View File

@@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 56
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 56,
"max_brightness": 100,
"split_count": [28, 28]
},

View File

@@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 64
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 64,
"max_brightness": 100,
"split_count": [32, 32]
},

View File

@@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 60
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 60,
"max_brightness": 100,
"split_count": [30, 30]
},

View File

@@ -36,7 +36,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 70
#endif
#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_LED_COUNT 70

View File

@@ -23,6 +23,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 70,
"max_brightness": 100,
"split_count": [30, 40]
},

View File

@@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 70
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 70,
"max_brightness": 100,
"split_count": [35, 35]
},

View File

@@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 80
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View File

@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 80,
"max_brightness": 100,
"split_count": [40, 40]
},