Corsair Lighting Protocol
0.15.0
Control LEDs connected to an Arduino with iCUE
|
#include <CorsairLightingProtocolSerial.h>
Public Member Functions | |
CorsairLightingProtocolSerial (CorsairLightingProtocolController *controller) | |
void | setup () |
void | update () |
The Serial adapter for CorsairLightingProtocolController. This adapter uses a Serial bridge to access the USB interface of another Arduino board. This is usefull for boards that don't have the USB functionality build in.
CorsairLightingProtocolSerial::CorsairLightingProtocolSerial | ( | CorsairLightingProtocolController * | controller | ) |
Create a new adapter for the controller.
controller | the CorsairLightingProtocolController |
void CorsairLightingProtocolSerial::setup | ( | ) |
Setup the Serial connection. This function must be called in setup.
void CorsairLightingProtocolSerial::update | ( | ) |
Read commands from Serial connection and pass them to the controller This function must be called in loop.