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 @@ 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

View File

@@ -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"]

View File

@@ -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

View File

@@ -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"]

View File

@@ -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

View File

@@ -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