-
-
Notifications
You must be signed in to change notification settings - Fork 64
How to transform LL Fans format to LED strip
When you control LED strips with iCUE you normally select "RGB Light Strip" in the Lighting Setup. Then you can control up to 60 LEDs per channel in iCUE. But sometimes you want to control more leds. This is possible by using "LL RGB Series Fans" in the Lighting Setup. Then you can control 96 LEDs per channel in iCUE. The only problem is that the format of the LL fans is different form the LED strip, so animations are displayed in a wrong way. Fortunately this can be fixed by applying a transformation.
The transformation can be applied by calling the function CLP::transformLLFanToStrip
from the FastLEDControllerUtils.h
file.
The function must be called in the onUpdateHook
callback.
The function take the FastLEDController pointer and the channel index as arguments.
See TransformLLFansFormatToStrip for the code of a complete example.
If this function is used with scale and repeat function on the same LED channel CLP::transformLLFanToStrip
must be called first.