Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -40,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define WS2812_SPI_SCK_PAL_MODE 0
|
||||
#define WS2812_SPI_SCK_PIN B13
|
||||
|
||||
#define RGB_DI_PIN B15
|
||||
#define RGBLED_NUM 10 /* If number is smaller, buffer updates too fast causing glitches */
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
|
@@ -9,6 +9,7 @@
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B15",
|
||||
"driver": "spi"
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/* RGB options */
|
||||
|
||||
#define RGB_DI_PIN D5
|
||||
#define RGB_MATRIX_LED_COUNT 16
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x5332",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D5"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F4", "F5", "D7"],
|
||||
"rows": ["B7", "B4", "F7", "F6"]
|
||||
|
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM3 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
|
||||
#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
|
||||
|
||||
#define RGB_DI_PIN A7
|
||||
#define RGBLED_NUM 10
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
|
@@ -9,6 +9,7 @@
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A7",
|
||||
"driver": "pwm"
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/* RGB options */
|
||||
|
||||
#define RGB_DI_PIN B7
|
||||
#define RGB_MATRIX_LED_COUNT 79
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 130
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x5338",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B7"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D0", "D1", "D2", "D3", "D5", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"],
|
||||
"rows": ["D4", "D6", "D7", "B4", "E6"]
|
||||
|
Reference in New Issue
Block a user