You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -51,7 +51,7 @@ Here is an example using 2 drivers.
51
51
52
52
!> Note the parentheses, this is so when `LED_MATRIX_LED_COUNT` is used in code and expanded, the values are added together before any additional math is applied to them. As an example, `rand() % (LED_DRIVER_1_LED_TOTAL + LED_DRIVER_2_LED_TOTAL)` will give very different results than `rand() % LED_DRIVER_1_LED_TOTAL + LED_DRIVER_2_LED_TOTAL`.
53
53
54
-
For split keyboards using `LED_MATRIX_SPLIT` with an LED driver, you can either have the same driver address or different driver addresses. If using different addresses, use `DRIVER_ADDR_1` for one and `DRIVER_ADDR_2` for the other one. Then, in `g_is31fl3731_leds`, fill out the correct driver index (0 or 1). If using one address, use `DRIVER_ADDR_1` for both, and use index 0 for `g_is31fl3731_leds`.
54
+
For split keyboards using `LED_MATRIX_SPLIT` with an LED driver, you can either have the same driver address or different driver addresses. If using different addresses, use `IS31FL3731_I2C_ADDRESS_1` for one and `IS31FL3731_I2C_ADDRESS_2` for the other one. Then, in `g_is31fl3731_leds`, fill out the correct driver index (0 or 1). If using one address, use `IS31FL3731_I2C_ADDRESS_1` for both, and use index 0 for `g_is31fl3731_leds`.
55
55
56
56
Define these arrays listing all the LEDs in your `<keyboard>.c`:
@@ -52,7 +52,7 @@ Here is an example using 2 drivers.
52
52
53
53
!> Note the parentheses, this is so when `RGB_MATRIX_LED_COUNT` is used in code and expanded, the values are added together before any additional math is applied to them. As an example, `rand() % (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)` will give very different results than `rand() % DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL`.
54
54
55
-
For split keyboards using `RGB_MATRIX_SPLIT` with an LED driver, you can either have the same driver address or different driver addresses. If using different addresses, use `DRIVER_ADDR_1` for one and `DRIVER_ADDR_2` for the other one. Then, in `g_is31fl3731_leds`, fill out the correct driver index (0 or 1). If using one address, use `DRIVER_ADDR_1` for both, and use index 0 for `g_is31fl3731_leds`.
55
+
For split keyboards using `RGB_MATRIX_SPLIT` with an LED driver, you can either have the same driver address or different driver addresses. If using different addresses, use `IS31FL3731_I2C_ADDRESS_1` for one and `IS31FL3731_I2C_ADDRESS_2` for the other one. Then, in `g_is31fl3731_leds`, fill out the correct driver index (0 or 1). If using one address, use `IS31FL3731_I2C_ADDRESS_1` for both, and use index 0 for `g_is31fl3731_leds`.
56
56
57
57
Define these arrays listing all the LEDs in your `<keyboard>.c`:
58
58
@@ -93,14 +93,14 @@ You can use between 1 and 4 IS31FL3733 IC's. Do not specify `DRIVER_ADDR_<N>` de
93
93
|`IS31FL3733_CSPULLUP`| (Optional) Set the value of the CSx lines on-chip de-ghosting resistors | PUR_0R (Disabled) |
94
94
|`IS31FL3733_DRIVER_COUNT`| (Required) How many RGB driver IC's are present ||
95
95
|`RGB_MATRIX_LED_COUNT`| (Required) How many RGB lights are present across all drivers ||
96
-
|`DRIVER_ADDR_1`| (Required) Address for the first RGB driver ||
97
-
|`DRIVER_ADDR_2`| (Optional) Address for the second RGB driver ||
98
-
|`DRIVER_ADDR_3`| (Optional) Address for the third RGB driver ||
99
-
|`DRIVER_ADDR_4`| (Optional) Address for the fourth RGB driver ||
100
-
|`DRIVER_SYNC_1`| (Optional) Sync configuration for the first RGB driver | 0 |
101
-
|`DRIVER_SYNC_2`| (Optional) Sync configuration for the second RGB driver | 0 |
102
-
|`DRIVER_SYNC_3`| (Optional) Sync configuration for the third RGB driver | 0 |
103
-
|`DRIVER_SYNC_4`| (Optional) Sync configuration for the fourth RGB driver | 0 |
96
+
|`IS31FL3733_I2C_ADDRESS_1`| (Required) Address for the first RGB driver ||
97
+
|`IS31FL3733_I2C_ADDRESS_2`| (Optional) Address for the second RGB driver ||
98
+
|`IS31FL3733_I2C_ADDRESS_3`| (Optional) Address for the third RGB driver ||
99
+
|`IS31FL3733_I2C_ADDRESS_4`| (Optional) Address for the fourth RGB driver ||
100
+
|`IS31FL3733_SYNC_1`| (Optional) Sync configuration for the first RGB driver | 0 |
101
+
|`IS31FL3733_SYNC_2`| (Optional) Sync configuration for the second RGB driver | 0 |
102
+
|`IS31FL3733_SYNC_3`| (Optional) Sync configuration for the third RGB driver | 0 |
103
+
|`IS31FL3733_SYNC_4`| (Optional) Sync configuration for the fourth RGB driver | 0 |
104
104
105
105
The IS31FL3733 IC's have on-chip resistors that can be enabled to allow for de-ghosting of the RGB matrix. By default these resistors are not enabled (`IS31FL3733_SWPULLUP`/`IS31FL3733_CSPULLUP` are given the value of `IS31FL3733_PUR_0R`), the values that can be set to enable de-ghosting are as follows:
106
106
@@ -127,8 +127,8 @@ Here is an example using 2 drivers.
@@ -180,10 +180,10 @@ Configure the hardware via your `config.h`:
180
180
|`IS31FL3736_CSPULLUP`| (Optional) Set the value of the CSx lines on-chip de-ghosting resistors | PUR_0R (Disabled) |
181
181
|`IS31FL3736_DRIVER_COUNT`| (Required) How many RGB driver IC's are present ||
182
182
|`RGB_MATRIX_LED_COUNT`| (Required) How many RGB lights are present across all drivers ||
183
-
|`DRIVER_ADDR_1`| (Required) Address for the first RGB driver ||
184
-
|`DRIVER_ADDR_2`| (Optional) Address for the second RGB driver ||
185
-
|`DRIVER_ADDR_3`| (Optional) Address for the third RGB driver ||
186
-
|`DRIVER_ADDR_4`| (Optional) Address for the fourth RGB driver ||
183
+
|`IS31FL3736_I2C_ADDRESS_1`| (Required) Address for the first RGB driver ||
184
+
|`IS31FL3736_I2C_ADDRESS_2`| (Optional) Address for the second RGB driver ||
185
+
|`IS31FL3736_I2C_ADDRESS_3`| (Optional) Address for the third RGB driver ||
186
+
|`IS31FL3736_I2C_ADDRESS_4`| (Optional) Address for the fourth RGB driver ||
187
187
188
188
The IS31FL3736 IC's have on-chip resistors that can be enabled to allow for de-ghosting of the RGB matrix. By default these resistors are not enabled (`IS31FL3736_SWPULLUP`/`IS31FL3736_CSPULLUP` are given the value of `IS31FL3736_PUR_0R`), the values that can be set to enable de-ghosting are as follows:
189
189
@@ -211,8 +211,8 @@ Here is an example using 2 drivers.
@@ -257,10 +257,10 @@ Configure the hardware via your `config.h`:
257
257
|`IS31FL3737_CSPULLUP`| (Optional) Set the value of the CSx lines on-chip de-ghosting resistors | PUR_0R (Disabled) |
258
258
|`IS31FL3737_DRIVER_COUNT`| (Required) How many RGB driver IC's are present ||
259
259
|`RGB_MATRIX_LED_COUNT`| (Required) How many RGB lights are present across all drivers ||
260
-
|`DRIVER_ADDR_1`| (Required) Address for the first RGB driver ||
261
-
|`DRIVER_ADDR_2`| (Optional) Address for the second RGB driver ||
262
-
|`DRIVER_ADDR_3`| (Optional) Address for the third RGB driver ||
263
-
|`DRIVER_ADDR_4`| (Optional) Address for the fourth RGB driver ||
260
+
|`IS31FL3737_I2C_ADDRESS_1`| (Required) Address for the first RGB driver ||
261
+
|`IS31FL3737_I2C_ADDRESS_2`| (Optional) Address for the second RGB driver ||
262
+
|`IS31FL3737_I2C_ADDRESS_3`| (Optional) Address for the third RGB driver ||
263
+
|`IS31FL3737_I2C_ADDRESS_4`| (Optional) Address for the fourth RGB driver ||
264
264
265
265
The IS31FL3737 IC's have on-chip resistors that can be enabled to allow for de-ghosting of the RGB matrix. By default these resistors are not enabled (`IS31FL3737_SWPULLUP`/`IS31FL3737_CSPULLUP` are given the value of `IS31FL3737_PUR_0R`), the values that can be set to enable de-ghosting are as follows:
266
266
@@ -287,8 +287,8 @@ Here is an example using 2 drivers.
0 commit comments