Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)

This commit is contained in:
Ryan
2023-04-06 18:00:54 +10:00
committed by GitHub
parent 71c22a12db
commit 47966dc2a6
2600 changed files with 4027 additions and 1909 deletions

View File

@@ -18,7 +18,6 @@
#define RGBLED_NUM 104
#define RGB_MATRIX_LED_COUNT 104
#define RGB_DI_PIN B15
#ifdef RGB_MATRIX_ENABLE
#define RGB_DISABLE_WHEN_USB_SUSPENDED

View File

@@ -8,6 +8,9 @@
"pid": "0x0102",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B15"
},
"matrix_pins": {
"cols": ["A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B12", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "C13", "C14", "C15", "A0"],
"rows": ["A10", "A9", "A8", "B14", "B13", "A2"]

View File

@@ -16,7 +16,6 @@
#pragma once
#define RGB_DI_PIN B15
#define RGBLED_NUM 4
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -18,6 +18,9 @@
"num_lock": "B9",
"on_state": 0
},
"ws2812": {
"pin": "B15"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"debounce": 15,

View File

@@ -16,8 +16,6 @@
#pragma once
#define RGB_DI_PIN B15
#define RGBLED_NUM 4
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -18,6 +18,9 @@
"num_lock": "B9",
"on_state": 0
},
"ws2812": {
"pin": "B15"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {