Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina"
|
||||
}
|
||||
|
@@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN D3
|
||||
|
||||
#define RGBLED_NUM 14 // Number of LEDs
|
||||
|
||||
#define RGBLIGHT_SPLIT // sync LEDs between RIGHT and LEFT hand
|
||||
|
@@ -25,10 +25,6 @@
|
||||
#define SERIAL_USART_RX_PAL_MODE 7 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 7
|
||||
#define SERIAL_USART_TIMEOUT 20 // USART driver timeout. default 20
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#undef RGB_DI_PIN
|
||||
#define RGB_DI_PIN A9
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
|
@@ -2,6 +2,9 @@
|
||||
"usb": {
|
||||
"device_version": "1.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A9"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A1", "A0", "B8", "B13", "B14", "B15", "B9"],
|
||||
"rows": ["B5", "B3", "B2", "B1", "B0"]
|
||||
|
Reference in New Issue
Block a user