Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
(#20303)
This commit is contained in:
@@ -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": {
|
||||
|
Reference in New Issue
Block a user