Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303)
This commit is contained in:
parent
71c22a12db
commit
47966dc2a6
2600 changed files with 4027 additions and 1909 deletions
|
|
@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#ifdef RGB_MATRIX_ENABLE
|
||||
#define WS2812_SPI SPID1
|
||||
#define WS2812_SPI_MOSI_PAL_MODE 5
|
||||
#define RGB_DI_PIN B5
|
||||
#define RGBLED_NUM 52
|
||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128 // Max brightness of LEDs
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B5",
|
||||
"driver": "spi"
|
||||
},
|
||||
"matrix_pins": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue