Corsair Lighting Protocol  0.15.0
Control LEDs connected to an Arduino with iCUE
CorsairLightingProtocolSerial Class Reference

#include <CorsairLightingProtocolSerial.h>

+ Inheritance diagram for CorsairLightingProtocolSerial:
+ Collaboration diagram for CorsairLightingProtocolSerial:

Public Member Functions

 CorsairLightingProtocolSerial (CorsairLightingProtocolController *controller)
 
void setup ()
 
void update ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CorsairLightingProtocolSerial()

CorsairLightingProtocolSerial::CorsairLightingProtocolSerial ( CorsairLightingProtocolController controller)

Create a new adapter for the controller.

Parameters
controllerthe CorsairLightingProtocolController

Member Function Documentation

◆ setup()

void CorsairLightingProtocolSerial::setup ( )

Setup the Serial connection. This function must be called in setup.

◆ update()

void CorsairLightingProtocolSerial::update ( )

Read commands from Serial connection and pass them to the controller This function must be called in loop.


The documentation for this class was generated from the following files: