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

@@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_ONESHOT
//Underglow
#define RGB_DI_PIN D4 // Underglow led pin
#define RGBLED_NUM 4
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@@ -19,6 +19,9 @@
{"pin_a": "D0", "pin_b": "D1"}
]
},
"ws2812": {
"pin": "D4"
},
"processor": "atmega328p",
"bootloader": "usbasploader",
"layout_aliases": {

View File

@@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE
// ws2812 options
#define RGB_DI_PIN D1 // pin the DI on the ws2812 is hooked-up to
#define RGBLED_NUM 7
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@@ -13,6 +13,9 @@
"rows": ["B2", "B3", "B1", "F0", "F1"]
},
"diode_direction": "COL2ROW",
"ws2812": {
"pin": "D1"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {

View File

@@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_RESYNC_ENABLE
// ws2812 options
#define RGB_DI_PIN D1 // pin the DI on the ws2812 is hooked-up to
#define RGBLED_NUM 16
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@@ -8,6 +8,9 @@
"pid": "0x454C",
"device_version": "2.0.0"
},
"ws2812": {
"pin": "D1"
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D2", "D3", "D5"],
"rows": ["B2", "B3", "B1", "F0", "F1"]