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
-2
View File
@@ -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
+3
View File
@@ -18,6 +18,9 @@
"levels": 4,
"breathing": true
},
"rgblight": {
"led_count": 1
},
"ws2812": {
"pin": "D0"
},
-1
View File
@@ -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
+3
View File
@@ -18,6 +18,9 @@
"levels": 5,
"breathing": true
},
"rgblight": {
"led_count": 6
},
"ws2812": {
"pin": "F5"
},
-1
View File
@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 10
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
+3
View File
@@ -13,6 +13,9 @@
"rows": ["D3", "D5", "B1", "B2", "B3"]
},
"diode_direction": "COL2ROW",
"rgblight": {
"led_count": 10
},
"ws2812": {
"pin": "E6"
},
-1
View File
@@ -16,7 +16,6 @@
#pragma once
#define RGBLED_NUM 12
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
+3
View File
@@ -13,6 +13,9 @@
"rows": ["B1", "B2", "B3", "D4", "D1", "D5"]
},
"diode_direction": "COL2ROW",
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "D0"
},
-1
View File
@@ -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
+3
View File
@@ -18,6 +18,9 @@
{"pin_a": "B2", "pin_b": "B1"}
]
},
"rgblight": {
"led_count": 8
},
"ws2812": {
"pin": "E6"
},
-1
View File
@@ -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
+3
View File
@@ -18,6 +18,9 @@
"esc_output": "F0",
"led": "B1"
},
"rgblight": {
"led_count": 12
},
"ws2812": {
"pin": "B7"
},