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

@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN E2
#define RGBLED_NUM 10
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@@ -16,6 +16,9 @@
"backlight": {
"pin": "B7"
},
"ws2812": {
"pin": "E2"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["numpad_5x4"],

View File

@@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Backlight configuration
*/
#define RGB_DI_PIN B7
#define RGB_MATRIX_LED_COUNT 77
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150

View File

@@ -8,6 +8,9 @@
"pid": "0x89F0",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B7"
},
"matrix_pins": {
"cols": ["B0", "D0", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "F6", "F7"],
"rows": ["B1", "B3", "B2", "F5", "F4"]