Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN E7
|
||||
#define RGB_MATRIX_LED_COUNT 62
|
||||
#define RGB_MATRIX_SPLIT { 32, 30 }
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"matrix": [4, 5]
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E7"
|
||||
},
|
||||
"processor": "at90usb1286",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT \
|
||||
|
@@ -13,6 +13,9 @@
|
||||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu"
|
||||
}
|
||||
|
@@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define SPLIT_HAND_PIN C14 // high = left, low = right
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN A6
|
||||
#define WS2812_PWM_DRIVER PWMD3 // default: PWMD2
|
||||
#define WS2812_PWM_CHANNEL 1 // default: 2
|
||||
#define WS2812_PWM_PAL_MODE 2 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2
|
||||
|
@@ -6,6 +6,7 @@
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"ws2812": {
|
||||
"pin": "A6",
|
||||
"driver": "pwm"
|
||||
},
|
||||
"encoder": {
|
||||
|
@@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define SPLIT_HAND_PIN C14 // high = left, low = right
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN A1
|
||||
#define WS2812_PWM_DRIVER PWMD2 // default: PWMD2
|
||||
#define WS2812_PWM_CHANNEL 2 // default: 2
|
||||
#define WS2812_PWM_PAL_MODE 1 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 2
|
||||
|
@@ -6,6 +6,7 @@
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"ws2812": {
|
||||
"pin": "A1",
|
||||
"driver": "pwm"
|
||||
},
|
||||
"encoder": {
|
||||
|
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN E7
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT \
|
||||
|
@@ -13,6 +13,9 @@
|
||||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E7"
|
||||
},
|
||||
"processor": "at90usb1286",
|
||||
"bootloader": "halfkay"
|
||||
}
|
||||
|
Reference in New Issue
Block a user