Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -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*/
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 20,
|
||||
"split_count": [10, 10]
|
||||
},
|
||||
"ws2812": {
|
||||
|
||||
@@ -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*/
|
||||
|
||||
@@ -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]
|
||||
},
|
||||
|
||||
@@ -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*/
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 36,
|
||||
"max_brightness": 100,
|
||||
"split_count": [18, 18]
|
||||
},
|
||||
|
||||
@@ -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*/
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 42,
|
||||
"max_brightness": 100,
|
||||
"split_count": [21, 21]
|
||||
},
|
||||
|
||||
@@ -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*/
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 48,
|
||||
"max_brightness": 100,
|
||||
"split_count": [24, 24]
|
||||
},
|
||||
|
||||
@@ -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*/
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 48,
|
||||
"max_brightness": 100,
|
||||
"split_count": [24, 24]
|
||||
},
|
||||
|
||||
@@ -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*/
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 56,
|
||||
"max_brightness": 100,
|
||||
"split_count": [28, 28]
|
||||
},
|
||||
|
||||
@@ -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*/
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 64,
|
||||
"max_brightness": 100,
|
||||
"split_count": [32, 32]
|
||||
},
|
||||
|
||||
@@ -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*/
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 60,
|
||||
"max_brightness": 100,
|
||||
"split_count": [30, 30]
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 70,
|
||||
"max_brightness": 100,
|
||||
"split_count": [30, 40]
|
||||
},
|
||||
|
||||
@@ -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*/
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 70,
|
||||
"max_brightness": 100,
|
||||
"split_count": [35, 35]
|
||||
},
|
||||
|
||||
@@ -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*/
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 80,
|
||||
"max_brightness": 100,
|
||||
"split_count": [40, 40]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user