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

@@ -30,7 +30,6 @@
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define RGB_DI_PIN B5
#define RGBLED_NUM 4
#define RGBLIGHT_LIMIT_VAL 40
#define RGBLIGHT_EFFECT_BREATHING

View File

@@ -11,6 +11,9 @@
"bootmagic": {
"matrix": [0, 3]
},
"ws2812": {
"pin": "B5"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"matrix_pins": {

View File

@@ -23,8 +23,6 @@
#define UNUSABLE_PINS \
{ D1, D3, B4, B7, D6, C7, F6, F5, F3, F7 }
// If board has a debug LED, you can enable it by defining this
#define RGB_DI_PIN B5
#define RGBLED_NUM 3
#define RGBLIGHT_LIMIT_VAL 40
#define RGBLIGHT_EFFECT_BREATHING

View File

@@ -5,5 +5,8 @@
"direct": [
["D4", "D2", "E6", "B6", "D7"]
]
},
"ws2812": {
"pin": "B5"
}
}

View File

@@ -8,13 +8,14 @@
},
"rgblight": {
"led_count": 3,
"pin": "B5",
"max_brightness": 40,
"animations": {
"breathing": true,
"rainbow_mood": true,
"rainbow_swirl": true
}
},
"ws2812": {
"pin": "B5"
}
}