RB SELECTCHANNEL

From MCS Wiki AVR
Jump to: navigation, search

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