|
Corsair Lighting Protocol
0.15.0
Control LEDs connected to an Arduino with iCUE
|
#include <FastLED.h>#include "Arduino.h"#include "CLPUtils.h"#include "ILEDController.h"
Include dependency graph for LEDController.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | LEDGroup |
| struct | LEDChannel |
| class | LEDController |
Enumerations | |
| enum class | ChannelMode : byte { Disabled = 0x00 , HardwarePlayback = 0x01 , SoftwarePlayback = 0x02 } |
| enum class | PortType : byte { WS2812B = 0x01 , UCS1903 = 0x02 } |
| enum class | GroupSpeed : byte { High = 0x00 , Medium = 0x01 , Low = 0x02 } |
| enum class | GroupDirection : byte { Backward = 0x00 , Forward = 0x01 } |
| enum class | GroupExtra : byte { Alternating = 0x00 , Random = 0x01 } |
Functions | |
| bool | isValidChannelMode (const ChannelMode channelMode) |
| bool | isValidPortType (const PortType portType) |
| bool | isValidGroupSpeed (const GroupSpeed groupSpeed) |
| bool | isValidGroupDirection (const GroupDirection groupDirection) |
| bool | isValidGroupExtra (const GroupExtra groupExtra) |
Defines types and constants of the LED part of the protocol
|
strong |
The mode of an LEDChannel. The mode describes how the LED lighting is done.
| Enumerator | |
|---|---|
| Disabled | No lighting is active for the channel. The LEDs will not be updated. |
| HardwarePlayback | The Hardware Playback uses lighting effects defined by LEDGroups and LEDController renders the effects themself. This mode works even without an USB connection. |
| SoftwarePlayback | All lighting effects are rendered by iCUE and only the RGB values are transferred via USB to the device. This requires an USB connection. |
|
strong |
The animation direction of a LEDGroup.
|
strong |
Extra information for animations of a LEDGroup.
|
strong |
The animation speed of a LEDGroup.
|
strong |
The type of LED Chipset connected to a channel. These are the types implicitly defined by iCUE when doing the lighting setup in iCUE. These type is ignored by the LEDController.
| Enumerator | |
|---|---|
| WS2812B | WS2812B used by all new Corsair devices |
| UCS1903 | UCS1903 Only used for the SP fan |