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

@@ -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

View File

@@ -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"]

View File

@@ -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

View File

@@ -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