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

@@ -7,7 +7,7 @@
#define BACKLIGHT_BREATHING
/* ws2812 RGB LED */
#define RGB_DI_PIN B1
#define WS2812_DI_PIN B1
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -39,7 +39,7 @@
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 2
#define RGB_DI_PIN B2 // The pin the LED strip is connected to (PB2 by default)
#define WS2812_DI_PIN B2 // The pin the LED strip is connected to (PB2 by default)
#define RGBLED_NUM 3 // Number of LEDs in your strip
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -45,7 +45,6 @@
/*
* WS2812 Underglow Matrix options
*/
#define RGB_DI_PIN A1
#define RGBLED_NUM 9
#define RGB_MATRIX_LED_COUNT RGBLED_NUM

View File

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

View File

@@ -46,7 +46,6 @@
/*
* WS2812 Underglow Matrix options
*/
#define RGB_DI_PIN A1
#define RGBLED_NUM 9
#define RGB_MATRIX_LED_COUNT RGBLED_NUM

View File

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