RB SUBCOLOR

From MCS Wiki AVR
(Difference between revisions)
Jump to: navigation, search
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Subtracts specified color info to the specified LED in memory <span style="font-family: Arial;"> </span> <span style="font-fam...")

Latest revision as of 22:35, 15 June 2015

Contents

Action

Subtracts specified color info to the specified LED in memory

 

 

Syntax

RB_SUBCOLOR 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 go below 0, the value is limited to 0. You need to use RB_SEND so that the LED reflects the new color information.

 

 

See also

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_GETCOLOR , RB_LOOKUPCOLOR


Example

See RB_CHANGEPIN



Languages   English  
Personal tools
Namespaces
Variants
Actions
Navigation
Language