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

@@ -23,7 +23,6 @@
#define SPLIT_HAND_PIN A3 // High -> left, Low -> right.
/* RGB settings. */
#define RGB_DI_PIN A1
#define WS2812_PWM_DRIVER PWMD2
#define WS2812_PWM_CHANNEL 2
#define WS2812_PWM_PAL_MODE 1

View File

@@ -4,6 +4,7 @@
"device_version": "1.0.0"
},
"ws2812": {
"pin": "A1",
"driver": "pwm"
},
"matrix_pins": {

View File

@@ -39,8 +39,8 @@ 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
# undef RGB_DI_PIN
# define RGB_DI_PIN A1
# undef WS2812_DI_PIN
# define WS2812_DI_PIN A1
# undef RGB_MATRIX_MAXIMUM_BRIGHTNESS
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
# define WS2812_PWM_DRIVER PWMD2 // default: PWMD2

View File

@@ -21,8 +21,5 @@
/* Handedness. */
#define MASTER_RIGHT
/* RGB settings. */
#define RGB_DI_PIN D3
/* PMW3360 settings. */
#define POINTING_DEVICE_CS_PIN B0

View File

@@ -3,6 +3,9 @@
"usb": {
"device_version": "1.0.0"
},
"ws2812": {
"pin": "D3"
},
"matrix_pins": {
"cols": ["C7", "F0", "D7", "E6", "B4"],
"rows": ["B7", "C6", "D4", "B5"]

View File

@@ -20,8 +20,5 @@
/* Handedness. */
#define MASTER_RIGHT
/* RGB settings. */
#define RGB_DI_PIN D3
/* PMW3360 settings. */
#define POINTING_DEVICE_CS_PIN F0

View File

@@ -3,6 +3,9 @@
"usb": {
"device_version": "2.0.0"
},
"ws2812": {
"pin": "D3"
},
"matrix_pins": {
"cols": ["F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"]

View File

@@ -25,9 +25,6 @@
// #define SPLIT_HAND_PIN GP13
// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
/* RGB settings. */
#define RGB_DI_PIN GP0
/* SPI & PMW3360 settings. */
#define SPI_DRIVER SPID0
#define SPI_SCK_PIN GP18

View File

@@ -12,6 +12,7 @@
"soft_serial_pin": "GP1"
},
"ws2812": {
"pin": "GP0",
"driver": "vendor"
},
"processor": "RP2040",

View File

@@ -25,9 +25,6 @@
// #define SPLIT_HAND_PIN GP15
// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
/* RGB settings. */
#define RGB_DI_PIN GP0
/* SPI & PMW3360 settings. */
#define SPI_DRIVER SPID0
#define SPI_SCK_PIN GP22

View File

@@ -12,6 +12,7 @@
"soft_serial_pin": "GP1"
},
"ws2812": {
"pin": "GP0",
"driver": "vendor"
},
"processor": "RP2040",

View File

@@ -27,7 +27,6 @@
// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
/* RGB settings. */
#define RGB_DI_PIN D3
#define WS2812_PWM_DRIVER PWMD2
#define WS2812_PWM_CHANNEL 4
#define WS2812_PWM_PAL_MODE 1

View File

@@ -4,6 +4,7 @@
"device_version": "2.0.0"
},
"ws2812": {
"pin": "D3",
"driver": "pwm"
},
"matrix_pins": {