RB ADDCOLOR
(Difference between revisions)
(Created page with "= <span class="f_Header">Action</span> = Adds specified color info to the specified LED in memory <span style="font-family: Arial;"> </span> <span style="font-family: ...") |
|||
Line 44: | Line 44: | ||
= <span class="f_Header">See also</span> = | = <span class="f_Header">See also</span> = | ||
− | + | [[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 GETCOLOR]] , [[RB LOOKUPCOLOR]] | |
− | + | ||
− | + | ||
= <span style="font-size: 14pt; font-weight: bold;">Example</span> = | = <span style="font-size: 14pt; font-weight: bold;">Example</span> = | ||
See [[RB CHANGEPIN]] | See [[RB CHANGEPIN]] |
Revision as of 21:49, 15 June 2015
Contents |
Action
Adds specified color info to the specified LED in memory
Syntax
RB_ADDCOLOR Led , Color
Remarks
Color |
Color is a byte array or variable that contains color information. |
Led |
The index of the LED number. First LED is 0. |
The operation is performed on the memory. When the R, G or B exceeds 255, the value is limited to 255. You need to use RB_SEND so that the LED reflects the new color information.
See also
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 GETCOLOR , RB LOOKUPCOLOR
Example
See RB CHANGEPIN