1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2600 changed files with 4027 additions and 1909 deletions

View file

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_DI_PIN B3
# define RGBLED_NUM 8
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8

View file

@ -8,6 +8,9 @@
"pid": "0x4D41",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B3"
},
"matrix_pins": {
"cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
"rows": ["F1", "F0", "F4", "F7", "F6", "F5"]

View file

@ -58,7 +58,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// LED Setting: if you have KUMO you can use RGBLIGHT_ENABLE = yes
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN B5
#define WS2812_DI_PIN B5
#define RGBLIGHT_TIMER
#define RGBLED_NUM 6

View file

@ -58,7 +58,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// LED Setting: if you have KUMO you can use RGBLIGHT_ENABLE = yes
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN B5
#define WS2812_DI_PIN B5
#define RGBLIGHT_TIMER
#define RGBLED_NUM 6