Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define USE_I2C
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN D2
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT { 1, 1 }
|
||||
#define RGBLED_NUM 2
|
||||
|
@@ -1,4 +1,7 @@
|
||||
{
|
||||
"ws2812": {
|
||||
"pin": "D2"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D3"],
|
||||
"rows": ["D4", "C6", "D7", "E6", "B4", "B5"]
|
||||
|
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define SPLIT_HAND_MATRIX_GRID D4,D3
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN D2
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT { 38, 46 }
|
||||
#define RGBLED_NUM 84
|
||||
|
@@ -1,4 +1,7 @@
|
||||
{
|
||||
"ws2812": {
|
||||
"pin": "D2"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4", "D3"],
|
||||
"rows": ["B5", "B4", "E6", "D7", "C6", "D4"]
|
||||
|
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGB_DI_PIN D2
|
||||
#define RGBLED_NUM 3
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0xE212",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D2"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B3", "B1", "F7", "F6"],
|
||||
"rows": ["B4", "E6", "D7", "C6", "D4"]
|
||||
|
Reference in New Issue
Block a user