Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#undef RGB_DI_PIN
|
||||
#undef WS2812_DI_PIN
|
||||
#undef RGBLED_NUM
|
||||
#define RGB_DI_PIN D2
|
||||
#define WS2812_DI_PIN D2
|
||||
# define RGBLIGHT_EFFECT_BREATHING
|
||||
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#undef RGB_DI_PIN
|
||||
#undef WS2812_DI_PIN
|
||||
#undef RGBLED_NUM
|
||||
#define RGB_DI_PIN D3
|
||||
#define WS2812_DI_PIN D3
|
||||
# define RGBLIGHT_EFFECT_BREATHING
|
||||
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN B4
|
||||
# define RGBLIGHT_EFFECT_BREATHING
|
||||
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -17,6 +17,9 @@
|
||||
"pin": "B5",
|
||||
"levels": 4
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B4"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"community_layouts": ["60_ansi"],
|
||||
|
@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN D3
|
||||
# define RGBLIGHT_EFFECT_BREATHING
|
||||
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x0007",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"matrix_pins": {
|
||||
|
@@ -17,7 +17,6 @@
|
||||
#pragma once
|
||||
|
||||
// enable RGB underglow
|
||||
#define RGB_DI_PIN B4
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -16,6 +16,9 @@
|
||||
"backlight": {
|
||||
"pin": "B5"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B4"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"community_layouts": ["ortho_4x4", "ortho_4x12"],
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#define PERMISSIVE_HOLD
|
||||
|
||||
/* setup lighting */
|
||||
#define RGB_DI_PIN B5
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x546F",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B5"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B4", "E6", "D7", "C6", "D4", "D0"],
|
||||
"rows": ["F7", "B1", "B3", "B2", "B6"]
|
||||
|
@@ -28,5 +28,5 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGB_DI_PIN D3 // The pin the LED strip is connected to
|
||||
#define WS2812_DI_PIN D3 // The pin the LED strip is connected to
|
||||
#define RGBLED_NUM 7 // Number of LEDs in your strip
|
||||
|
Reference in New Issue
Block a user