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

@@ -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

View File

@@ -17,6 +17,9 @@
"matrix": [4, 5]
}
},
"ws2812": {
"pin": "E7"
},
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -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 \

View File

@@ -13,6 +13,9 @@
"split": {
"soft_serial_pin": "D2"
},
"ws2812": {
"pin": "D3"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}

View File

@@ -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

View File

@@ -6,6 +6,7 @@
},
"diode_direction": "COL2ROW",
"ws2812": {
"pin": "A6",
"driver": "pwm"
},
"encoder": {

View File

@@ -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

View File

@@ -6,6 +6,7 @@
},
"diode_direction": "COL2ROW",
"ws2812": {
"pin": "A1",
"driver": "pwm"
},
"encoder": {

View File

@@ -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 \

View File

@@ -13,6 +13,9 @@
"split": {
"soft_serial_pin": "D2"
},
"ws2812": {
"pin": "E7"
},
"processor": "at90usb1286",
"bootloader": "halfkay"
}