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

@ -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

View file

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