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,6 +23,5 @@ 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 RGBLED_NUM 14
#define RGBLED_SPLIT { 7, 7 }

View File

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

View File

@@ -25,6 +25,5 @@ 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 RGBLED_NUM 14
#define RGBLED_SPLIT { 7, 7 }

View File

@@ -16,6 +16,9 @@
"pin": "B6",
"levels": 7
},
"ws2812": {
"pin": "D3"
},
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_5x14"
},