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

@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_LED_COUNT 62
#define RGB_DI_PIN D1
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_MATRIX_KEYPRESSES

View File

@@ -14,6 +14,9 @@
"rgb_matrix": true,
"rgblight": false
},
"ws2812": {
"pin": "D1"
},
"matrix_pins": {
"cols": ["B7", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6"],
"rows": ["D5", "D3", "D2", "B0", "B2"]

View File

@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* Define RGB Underglow */
#define RGB_DI_PIN D0
#define RGBLED_NUM 16
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -17,6 +17,9 @@
"pin": "B7",
"levels": 6
},
"ws2812": {
"pin": "D0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi"],