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

@@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -8,6 +8,9 @@
"pid": "0x1257",
"device_version": "1.0.0"
},
"ws2812": {
"pin": "D3"
},
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6", "B5"],
"rows": ["F4", "D4", "D7", "E6", "B4", "C6"]

View File

@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define CAPS_LOCK_LED_PIN B6
/* ws2812 RGB LED */
#define RGB_DI_PIN E6
#define RGBLED_NUM 16 // Number of LEDs
#define RGBLED_SPLIT { 8, 8 }
#define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 }

View File

@@ -21,6 +21,9 @@
"backlight": {
"pin": "B5"
},
"ws2812": {
"pin": "E6"
},
"split": {
"soft_serial_pin": "D0",
"encoder": {

View File

@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define CAPS_LOCK_LED_PIN B6
/* ws2812 RGB LED */
#define RGB_DI_PIN E6
#define RGBLED_NUM 16 // Number of LEDs
#define RGBLED_SPLIT { 8, 8 }
#define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 }

View File

@@ -21,6 +21,9 @@
"backlight": {
"pin": "B5"
},
"ws2812": {
"pin": "E6"
},
"split": {
"soft_serial_pin": "D0",
"encoder": {

View File

@@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE
/* ws2812 RGB LED */
#define RGB_DI_PIN E6
#define RGBLED_NUM 16 // Number of LEDs
#define RGBLED_SPLIT { 8, 8 }
#define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 }

View File

@@ -18,6 +18,9 @@
{"pin_a": "F5", "pin_b": "F6"}
]
},
"ws2812": {
"pin": "E6"
},
"split": {
"soft_serial_pin": "D0",
"encoder": {

View File

@@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE
/* ws2812 RGB LED */
#define RGB_DI_PIN E6
#define RGBLED_NUM 16 // Number of LEDs
#define RGBLED_SPLIT { 8, 8 }
#define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 }

View File

@@ -18,6 +18,9 @@
{"pin_a": "F5", "pin_b": "F6"}
]
},
"ws2812": {
"pin": "E6"
},
"split": {
"soft_serial_pin": "D0",
"encoder": {