RB_GETCOLOR

RB_GETCOLOR new 2079

Top  Previous  Next

Action

Returns the RGB color information of a LED of the active channel.

 

 

Syntax

Color =  RB_GETCOLOR( LED )

 

 

Remarks

Color

Color is a byte array or variable that contains color information.

LED

The index of the LED number. First LED is 0.

 

 

 

 

See also

CONFIG RAINBOW , RB_ADDCOLOR, RB_ANDCOLOR, RB_ORCOLOR, RB_SUBCOLOR, RB_CLEARSTRIPE , RB_CLEARCOLORS , RB_FILL , RB_FILLCOLORS , RB_FILLSTRIPE , RB_SELECTCHANNEL, RB_SEND, RB_SETCOLOR , RB_SWAPCOLOR , RB_ROTATELEFT, RB_ROTATERIGHT, RB_SHIFTLEFT, RB_SHIFTRIGHT , RB_CHANGEPIN , RB_SETTABLECOLOR , RB_LOOKUPCOLOR , RB_COPY , RB_COLOR

 

 

 

Example