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

@@ -31,7 +31,7 @@
#ifdef RGB_MATRIX_ENABLE
// The pin connected to the data pin of the LEDs
#define RGB_DI_PIN D3
#define WS2812_DI_PIN D3
// The number of LEDs connected
#define RGB_MATRIX_LED_COUNT 60
#define RGBLED_NUM 60

View File

@@ -16,9 +16,6 @@
#pragma once
/* SK6812 RGB LED */
#define RGB_DI_PIN D3
#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 60 // Total number of LEDs
# define RGBLED_SPLIT { 30, 30 } // LEDs per side

View File

@@ -21,6 +21,9 @@
"split": {
"soft_serial_pin": "D2"
},
"ws2812": {
"pin": "D3"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {