|
@@ -22,7 +22,7 @@ You can use between 1 and 4 IS31FL3731 IC's. Do not specify `LED_DRIVER_ADDR_<N>
|
|
| `ISSI_TIMEOUT` | (Optional) How long to wait for i2c messages | 100 |
|
|
| `ISSI_TIMEOUT` | (Optional) How long to wait for i2c messages | 100 |
|
|
| `ISSI_PERSISTENCE` | (Optional) Retry failed messages this many times | 0 |
|
|
| `ISSI_PERSISTENCE` | (Optional) Retry failed messages this many times | 0 |
|
|
| `LED_DRIVER_COUNT` | (Required) How many LED driver IC's are present | |
|
|
| `LED_DRIVER_COUNT` | (Required) How many LED driver IC's are present | |
|
|
-| `LED_DRIVER_LED_COUNT` | (Required) How many LED lights are present across all drivers | |
|
|
+| `DRIVER_LED_TOTAL` | (Required) How many LED lights are present across all drivers | |
|
|
| `LED_DRIVER_ADDR_1` | (Required) Address for the first LED driver | |
|
|
| `LED_DRIVER_ADDR_1` | (Required) Address for the first LED driver | |
|
|
| `LED_DRIVER_ADDR_2` | (Optional) Address for the second LED driver | |
|
|
| `LED_DRIVER_ADDR_2` | (Optional) Address for the second LED driver | |
|
|
| `LED_DRIVER_ADDR_3` | (Optional) Address for the third LED driver | |
|
|
| `LED_DRIVER_ADDR_3` | (Optional) Address for the third LED driver | |
|
|
@@ -44,7 +44,7 @@ Here is an example using 2 drivers.
|
|
#define LED_DRIVER_COUNT 2
|
|
#define LED_DRIVER_COUNT 2
|
|
#define LED_DRIVER_1_LED_COUNT 25
|
|
#define LED_DRIVER_1_LED_COUNT 25
|
|
#define LED_DRIVER_2_LED_COUNT 24
|
|
#define LED_DRIVER_2_LED_COUNT 24
|
|
-#define LED_DRIVER_LED_COUNT LED_DRIVER_1_LED_TOTAL + LED_DRIVER_2_LED_TOTAL
|
|
+#define DRIVER_LED_TOTAL LED_DRIVER_1_LED_TOTAL + LED_DRIVER_2_LED_TOTAL
|
|
```
|
|
```
|
|
|
|
|
|
Currently only 2 drivers are supported, but it would be trivial to support all 4 combinations.
|
|
Currently only 2 drivers are supported, but it would be trivial to support all 4 combinations.
|