Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* Define RGB Underglow */
|
||||
#define RGB_DI_PIN D0
|
||||
#define RGBLED_NUM 10
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x8858",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D2", "D3", "D5", "D6", "B4", "B6", "F6", "F5", "F4", "F1", "F0", "B3"],
|
||||
"rows": ["D7", "B5", "F7", "D4"]
|
||||
|
@@ -23,6 +23,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* RGB Setup */
|
||||
#define RGB_DI_PIN D0
|
||||
#define RGBLED_NUM 3
|
||||
#define RGBLIGHT_SLEEP
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x8844",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D2", "D3", "D5", "D6", "B4", "B6", "F6", "F5", "F4", "F1", "F0", "B3"],
|
||||
"rows": ["D7", "B5", "F7", "D4"]
|
||||
|
@@ -14,7 +14,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGB_DI_PIN D0
|
||||
#define WS2812_DI_PIN D0
|
||||
#define RGBLED_NUM 3
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#endif
|
||||
|
@@ -36,7 +36,7 @@
|
||||
|
||||
// LED Setting: if you have KUMO you can use RGBLIGHT_ENABLE = yes
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGB_DI_PIN D0
|
||||
#define WS2812_DI_PIN D0
|
||||
#define RGBLIGHT_TIMER
|
||||
#define RGBLED_NUM 3
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user