Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 12
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x3436",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["F7", "B1", "B3", "B2", "B6"]
|
||||
|
@@ -9,9 +9,9 @@
|
||||
#define SPLIT_HAND_PIN F6
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#undef RGB_DI_PIN
|
||||
#undef WS2812_DI_PIN
|
||||
#undef RGBLED_NUM
|
||||
#define RGB_DI_PIN F4
|
||||
#define WS2812_DI_PIN F4
|
||||
#define RGBLED_NUM 52
|
||||
#define RGBLED_SPLIT {26, 26}
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#define USE_I2C
|
||||
#define SPLIT_HAND_PIN F6
|
||||
|
||||
#undef RGB_DI_PIN
|
||||
#undef WS2812_DI_PIN
|
||||
#undef RGBLED_NUM
|
||||
|
||||
#define DEBOUNCE 5
|
||||
|
Reference in New Issue
Block a user