Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGB_MATRIX_LED_COUNT 36
|
||||
#define RGB_MATRIX_SPLIT { 18, 18 }
|
||||
#define RGB_MATRIX_CENTER { 133, 54 }
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x3536",
|
||||
"device_version": "0.0.3"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["B1", "B3", "B2", "B6"]
|
||||
|
@@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 12
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x3435",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["F7", "B1", "B3", "B2", "B6"]
|
||||
|
@@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 12
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x3436",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["F7", "B1", "B3", "B2", "B6"]
|
||||
|
@@ -9,9 +9,9 @@
|
||||
#define SPLIT_HAND_PIN F6
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#undef RGB_DI_PIN
|
||||
#undef WS2812_DI_PIN
|
||||
#undef RGBLED_NUM
|
||||
#define RGB_DI_PIN F4
|
||||
#define WS2812_DI_PIN F4
|
||||
#define RGBLED_NUM 52
|
||||
#define RGBLED_SPLIT {26, 26}
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#define USE_I2C
|
||||
#define SPLIT_HAND_PIN F6
|
||||
|
||||
#undef RGB_DI_PIN
|
||||
#undef WS2812_DI_PIN
|
||||
#undef RGBLED_NUM
|
||||
|
||||
#define DEBOUNCE 5
|
||||
|
@@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 12
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x3436",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["F7", "B1", "B3", "B2", "B6"]
|
||||
|
@@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 12
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x3536",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["F6", "F7", "B1", "B3", "B2", "B6"]
|
||||
|
@@ -31,8 +31,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define MOUSEKEY_WHEEL_MAX_SPEED 3
|
||||
|
||||
// RGB backlight
|
||||
#undef RGB_DI_PIN
|
||||
#define RGB_DI_PIN D3
|
||||
#undef WS2812_DI_PIN
|
||||
#define WS2812_DI_PIN D3
|
||||
#undef RGBLED_NUM
|
||||
#define RGBLED_NUM 30
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
@@ -23,8 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define EE_HANDS
|
||||
// Rows are doubled-up
|
||||
|
||||
#undef RGB_DI_PIN
|
||||
#define RGB_DI_PIN F5
|
||||
#undef WS2812_DI_PIN
|
||||
#define WS2812_DI_PIN F5
|
||||
|
||||
#undef SOFT_SERIAL_PIN
|
||||
#define SOFT_SERIAL_PIN D0
|
||||
|
@@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 12
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x3537",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
|
||||
"rows": ["D4", "C6", "D7", "E6", "B4", "B5"]
|
||||
|
@@ -17,5 +17,4 @@
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 12
|
||||
|
@@ -7,6 +7,9 @@
|
||||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina"
|
||||
}
|
||||
|
@@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 12
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x3636",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"]
|
||||
|
@@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 12
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x3636",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"]
|
||||
|
@@ -19,5 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 12
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x3636",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4", "B5", "B7"],
|
||||
"rows": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"]
|
||||
|
@@ -5,6 +5,5 @@
|
||||
#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
|
||||
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
|
||||
#define RGB_DI_PIN D1
|
||||
#define RGBLED_NUM 6 // Used when chaining strips
|
||||
#define RGBLED_SPLIT { 3, 3 } // Used when not chaining strips
|
||||
|
@@ -10,6 +10,9 @@
|
||||
"pid": "0x3632",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["F6", "F7", "B1", "B3", "B2", "B6"]
|
||||
|
Reference in New Issue
Block a user