Skip to content

Commit 5849107

Browse files
committed
added documentation for fixIcueBrightness
1 parent 445d5bc commit 5849107

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,17 @@ Then the third argument of the `scale` function is `144`.
139139
For both functions it's **important**, that the CRGB arrays have at least the length of the physical LED strip.
140140
This means if your LED channel from iCUE has 50 LEDs and you use the `repeat` function to control 100 physical LEDs you MUST declare the CRGB array at least with a length of 100.
141141

142+
## Increase the Brightness of the LEDs
143+
By default iCUE only uses 50% of the LEDs brightness even if you set the brightness to max in the iCUE Device Settings.
144+
But there are good news, we can increase the brightness with the Arduino so we can use the full brightness of our LEDs.
145+
Add the `CLP::fixIcueBrightness` function to the `onUpdateHook` in the setup function as shown in the [example](examples/AdditionalFeatures/AdditionalFeatures.ino).
146+
If there are multiple functions called in `onUpdateHook`, `fixIcueBrightness` should be the first.
147+
```C++
148+
ledController.onUpdateHook(0, []() {
149+
CLP::fixIcueBrightness(&ledController, 0);
150+
});
151+
```
152+
142153
# License
143154
This project is licensed under the Apache 2.0 License.
144155

0 commit comments

Comments
 (0)