RB SELECTCHANNEL

From MCS Wiki AVR
(Difference between revisions)
Jump to: navigation, search
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Selects the active channel. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </span> = <spa...")

Latest revision as of 22:44, 15 June 2015

Contents

Action

Selects the active channel.

 

 

Syntax

RB_SELECTCHANNEL channel

 

 

Remarks

channel

A numeric variable or constant that specifies the active channel. The range is from 0-7

 

This statement will set the active channel and initializes the output pin. The channel is a numeric variable in the range from 0-7.

All rainbow commands will work on the active channel. This means that you need to use RB_SelectChannel at least once.

You should not specify undefined channels. Channels are defined with CONFIG RAINBOW


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