Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -21,5 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define RGBLED_NUM 1 // Number of LEDs in your strip
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
"levels": 4,
|
||||
"breathing": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 1
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D0"
|
||||
},
|
||||
|
||||
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 6 // Number of LEDs in your strip
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
"levels": 5,
|
||||
"breathing": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 6
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F5"
|
||||
},
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 10
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
"rows": ["D3", "D5", "B1", "B2", "B3"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"rgblight": {
|
||||
"led_count": 10
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E6"
|
||||
},
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
"rows": ["B1", "B2", "B3", "D4", "D1", "D5"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"rgblight": {
|
||||
"led_count": 12
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D0"
|
||||
},
|
||||
|
||||
@@ -34,4 +34,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 8
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
{"pin_a": "B2", "pin_b": "B1"}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 8
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E6"
|
||||
},
|
||||
|
||||
@@ -29,4 +29,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 12
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
"esc_output": "F0",
|
||||
"led": "B1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 12
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B7"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user