Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN B1
|
||||
#define WS2812_DI_PIN B1
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -39,7 +39,7 @@
|
||||
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
|
||||
//#define MIDI_TONE_KEYCODE_OCTAVES 2
|
||||
|
||||
#define RGB_DI_PIN B2 // The pin the LED strip is connected to (PB2 by default)
|
||||
#define WS2812_DI_PIN B2 // The pin the LED strip is connected to (PB2 by default)
|
||||
#define RGBLED_NUM 3 // Number of LEDs in your strip
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
|
@@ -45,7 +45,6 @@
|
||||
/*
|
||||
* WS2812 Underglow Matrix options
|
||||
*/
|
||||
#define RGB_DI_PIN A1
|
||||
#define RGBLED_NUM 9
|
||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
|
||||
|
@@ -9,6 +9,7 @@
|
||||
"device_version": "0.0.6"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A1",
|
||||
"driver": "pwm"
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
@@ -46,7 +46,6 @@
|
||||
/*
|
||||
* WS2812 Underglow Matrix options
|
||||
*/
|
||||
#define RGB_DI_PIN A1
|
||||
#define RGBLED_NUM 9
|
||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
|
||||
|
@@ -9,6 +9,7 @@
|
||||
"device_version": "0.0.6"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A1",
|
||||
"driver": "pwm"
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
Reference in New Issue
Block a user