1
0
Fork 0

Add and use I2C address defines for ISSI LED drivers (#22008)

This commit is contained in:
Ryan 2023-09-19 19:31:54 +10:00 committed by GitHub
parent 74360d0a01
commit 8f22105289
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
166 changed files with 385 additions and 496 deletions

View file

@ -19,8 +19,8 @@
#define PAL_MODE_STM32_ALTERNATE_OPENDRAIN (PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN)
// rgb matrix setting
#define DRIVER_ADDR_1 0b1110100
#define DRIVER_ADDR_2 0b1110110
#define DRIVER_ADDR_1 IS31FL3731_I2C_ADDRESS_GND
#define DRIVER_ADDR_2 IS31FL3731_I2C_ADDRESS_SDA
#define IS31FL3731_DRIVER_COUNT 2
#define DRIVER_1_LED_TOTAL 36
#define DRIVER_2_LED_TOTAL 36