Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#define RGB_DI_PIN A7
|
||||
#define RGB_MATRIX_LED_COUNT 91
|
||||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
|
||||
|
@@ -16,6 +16,9 @@
|
||||
"num_lock": "C15",
|
||||
"scroll_lock": "B9"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A7"
|
||||
},
|
||||
"layout_aliases": {
|
||||
"LAYOUT_all": "LAYOUT_alice_split_bs"
|
||||
},
|
||||
|
@@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#define RGB_DI_PIN A15
|
||||
#define RGBLED_NUM 23
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
|
@@ -13,6 +13,9 @@
|
||||
{"pin_a": "A4", "pin_b": "A3"}
|
||||
]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A15"
|
||||
},
|
||||
"processor": "STM32F303",
|
||||
"board": "QMK_PROTON_C",
|
||||
"bootloader": "stm32-dfu",
|
||||
|
@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGB_DI_PIN A7
|
||||
#define WS2812_SPI SPID1 // default: SPID1
|
||||
#define WS2812_SPI_MOSI_PAL_MODE 5 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5
|
||||
#define RGBLED_NUM 23
|
||||
|
@@ -21,6 +21,7 @@
|
||||
"scroll_lock": "C15"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A7",
|
||||
"driver": "spi"
|
||||
},
|
||||
"layout_aliases": {
|
||||
|
Reference in New Issue
Block a user