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

@@ -17,7 +17,6 @@
#pragma once
#define RGB_DI_PIN F0
#define RGBLED_NUM 9
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8

View File

@@ -8,6 +8,9 @@
"pid": "0x4E4D",
"device_version": "0.0.1"
},
"ws2812": {
"pin": "F0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"matrix_pins": {

View File

@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* RGB options */
#define RGB_DI_PIN A7
#define WS2812_PWM_DRIVER PWMD3
#define WS2812_PWM_CHANNEL 2
#define WS2812_PWM_PAL_MODE 1

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"ws2812": {
"pin": "A7",
"driver": "pwm"
},
"matrix_pins": {

View File

@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* RGB options */
#define RGB_DI_PIN B4
#define WS2812_PWM_DRIVER PWMD3
#define WS2812_PWM_CHANNEL 1
#define WS2812_PWM_PAL_MODE 1

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B4",
"driver": "pwm"
},
"matrix_pins": {

View File

@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* RGB options */
#define RGB_DI_PIN B0
#define WS2812_PWM_DRIVER PWMD3
#define WS2812_PWM_CHANNEL 3
#define WS2812_PWM_PAL_MODE 1

View File

@@ -9,6 +9,7 @@
"device_version": "0.0.1"
},
"ws2812": {
"pin": "B0",
"driver": "pwm"
},
"matrix_pins": {

View File

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

View File

@@ -17,6 +17,9 @@
"pin": "B7",
"levels": 10
},
"ws2812": {
"pin": "D3"
},
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x4"],