Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)
This commit is contained in:
parent
71c22a12db
commit
47966dc2a6
2600 changed files with 4027 additions and 1909 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#define RGB_DI_PIN D3
|
||||
# define RGBLED_NUM 12
|
||||
# define RGBLIGHT_HUE_STEP 4
|
||||
# define RGBLIGHT_SAT_STEP 4
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x0512",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "F6", "F5", "F4"],
|
||||
"rows": ["F7", "B1", "B3", "B2", "B6"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue