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
Copy file name to clipboardexpand all lines: docs/feature_rgb_matrix.md
+21-21
Original file line number
Diff line number
Diff line change
@@ -465,41 +465,41 @@ Configure the hardware via your `config.h`:
465
465
```
466
466
467
467
---
468
-
### AW20216 :id=aw20216
469
-
There is basic support for addressable RGB matrix lighting with the SPI AW20216 RGB controller. To enable it, add this to your `rules.mk`:
468
+
### AW20216S :id=aw20216s
469
+
There is basic support for addressable RGB matrix lighting with the SPI AW20216S RGB controller. To enable it, add this to your `rules.mk`:
470
470
471
471
```make
472
472
RGB_MATRIX_ENABLE = yes
473
-
RGB_MATRIX_DRIVER = aw20216
473
+
RGB_MATRIX_DRIVER = aw20216s
474
474
```
475
475
476
-
You can use up to 2AW20216 IC's. Do not specify `DRIVER_<N>_xxx` defines for IC's that are not present on your keyboard. You can define the following items in `config.h`:
476
+
You can use up to 2AW20216S IC's. Do not specify `DRIVER_<N>_xxx` defines for IC's that are not present on your keyboard. You can define the following items in `config.h`:
477
477
478
478
| Variable | Description | Default |
479
479
|----------|-------------|---------|
480
-
| `DRIVER_1_CS` | (Required) MCU pin connected to first RGB driver chip select line | B13 |
481
-
| `DRIVER_2_CS` | (Optional) MCU pin connected to second RGB driver chip select line | |
482
-
| `DRIVER_1_EN` | (Required) MCU pin connected to first RGB driver hardware enable line | C13 |
483
-
| `DRIVER_2_EN` | (Optional) MCU pin connected to second RGB driver hardware enable line | |
480
+
| `AW20216S_DRIVER_1_CS` | (Required) MCU pin connected to first RGB driver chip select line | B13 |
481
+
| `AW20216S_DRIVER_2_CS` | (Optional) MCU pin connected to second RGB driver chip select line | |
482
+
| `AW20216S_DRIVER_1_EN` | (Required) MCU pin connected to first RGB driver hardware enable line | C13 |
483
+
| `AW20216S_DRIVER_2_EN` | (Optional) MCU pin connected to second RGB driver hardware enable line | |
484
484
| `DRIVER_1_LED_TOTAL` | (Required) How many RGB lights are connected to first RGB driver | |
485
485
| `DRIVER_2_LED_TOTAL` | (Optional) How many RGB lights are connected to second RGB driver | |
486
-
| `DRIVER_COUNT` | (Required) How many RGB driver IC's are present | |
486
+
| `AW20216S_DRIVER_COUNT` | (Required) How many RGB driver IC's are present | |
487
487
| `RGB_MATRIX_LED_COUNT` | (Required) How many RGB lights are present across all drivers | |
488
-
| `AW_SCALING_MAX` | (Optional) LED current scaling value (0-255, higher values mean LED is brighter at full PWM) | 150 |
489
-
| `AW_GLOBAL_CURRENT_MAX` | (Optional) Driver global current limit (0-255, higher values means the driver may consume more power) | 150 |
490
-
| `AW_SPI_MODE` | (Optional) Mode for SPI communication (0-3, defines polarity and phase of the clock) | 3 |
491
-
| `AW_SPI_DIVISOR` | (Optional) Clock divisor for SPI communication (powers of 2, smaller numbers means faster communication, should not be less than 4) | 4 |
488
+
| `AW20216S_SCALING_MAX` | (Optional) LED current scaling value (0-255, higher values mean LED is brighter at full PWM) | 150 |
489
+
| `AW20216S_GLOBAL_CURRENT_MAX` | (Optional) Driver global current limit (0-255, higher values means the driver may consume more power) | 150 |
490
+
| `AW20216S_SPI_MODE` | (Optional) Mode for SPI communication (0-3, defines polarity and phase of the clock) | 3 |
491
+
| `AW20216S_SPI_DIVISOR` | (Optional) Clock divisor for SPI communication (powers of 2, smaller numbers means faster communication, should not be less than 4) | 4 |
492
492
493
493
Here is an example using 2 drivers.
494
494
495
495
```c
496
-
#define DRIVER_1_CS B13
497
-
#define DRIVER_2_CS B14
496
+
#define AW20216S_DRIVER_1_CS B13
497
+
#define AW20216S_DRIVER_2_CS B14
498
498
// Hardware enable lines may be connected to the same pin
Copy file name to clipboardexpand all lines: docs/reference_info_json.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -530,7 +530,7 @@ Configures the [RGB Matrix](feature_rgb_matrix.md) feature.
530
530
* The centroid (geometric center) of the LEDs. Used for certain effects.
531
531
* Default: `[112, 32]`
532
532
* `driver` (Required)
533
-
* The driver to use. Must be one of `aw20216`, `ckled2001`, `custom`, `is31fl3731`, `is31fl3733`, `is31fl3736`, `is31fl3737`, `is31fl3741`, `is31fl3742a`, `is31fl3743a`, `is31fl3745`, `is31fl3746a`, `ws2812`.
533
+
* The driver to use. Must be one of `aw20216s`, `ckled2001`, `custom`, `is31fl3731`, `is31fl3733`, `is31fl3736`, `is31fl3737`, `is31fl3741`, `is31fl3742a`, `is31fl3743a`, `is31fl3745`, `is31fl3746a`, `ws2812`.
0 commit comments