RB SEND

From MCS Wiki AVR
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 24: Line 24:
  
 
The following table shows which statements update the LED at once
 
The following table shows which statements update the LED at once
 +
 +
 +
<div style="font-size: 13.3333330154419px; padding: 0px; margin: 0px;">
 +
{| cellspacing="0" cellpadding="0" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">STATEMENT</p>
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">UPDATE LED</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB ADDCOLOR]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB ANDCOLOR]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB ORCOLOR]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB SUBCOLOR]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB CLEARSTRIPE]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">YES</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB CLEARCOLORS]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB FILL]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">YES</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB FILLCOLORS]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB FILLSTRIPE]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">YES</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB SELECTCHANNEL]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">'''RB_SEND'''</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">YES</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB SETCOLOR]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB SWAPCOLOR]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB ROTATELEFT]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB ROTATERIGHT]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB SHIFTLEFT]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB SHIFTRIGHT]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB CHANGEPIN]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB SETTABLECOLOR]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB GETCOLOR]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|- style="vertical-align: top;"
 +
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" |
 +
<span style="font-family: Arial;">[[RB LOOKUPCOLOR]]</span>
 +
 +
| valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p>
 +
|}
 +
</div>
 +
&nbsp;
  
 
&nbsp;
 
&nbsp;
 
<div style="font-size: 13.3333330154419px; padding: 0px; margin: 0px;"><br/></div>
 
<div style="font-size: 13.3333330154419px; padding: 0px; margin: 0px;"><br/></div>
 +
 +
= <span class="f_Header">See also</span> =
 +
 +
[[RB ADDCOLOR|RB_ADDCOLOR]] , [[RB ANDCOLOR|RB_ANDCOLOR]] , [[RB ORCOLOR|RB_ORCOLOR]], [[RB SUBCOLOR|RB_SUBCOLOR]], [[RB CLEARSTRIPE|RB_CLEARSTRIPE]] , [[RB CLEARCOLORS|RB_CLEARCOLORS]] , [[RB FILL|RB_FILL]] , [[RB FILLCOLORS|RB_FILLCOLORS]] , [[RB FILLSTRIPE|RB_FILLSTRIPE]] , [[RB SELECTCHANNEL|RB_SELECTCHANNEL]] , '''RB_SEND''', [[RB SETCOLOR|RB_SETCOLOR]] , [[RB SWAPCOLOR|RB_SWAPCOLOR]] , [[RB ROTATELEFT|RB_ROTATELEFT]] , [[RB ROTATERIGHT|RB_ROTATERIGHT]] , [[RB SHIFTLEFT|RB_SHIFTLEFT]] , [[RB SHIFTRIGHT|RB_SHIFTRIGHT]] , [[RB CHANGEPIN|RB_CHANGEPIN]] , [[RB SETTABLECOLOR|RB_SETTABLECOLOR]] , [[RB GETCOLOR|RB_GETCOLOR]] , [[RB LOOKUPCOLOR|RB_LOOKUPCOLOR]]
 +
 +
 +
 +
= <span class="f_Header">Example</span> =
 +
 +
See&nbsp;[[RB CHANGEPIN|RB_CHANGEPIN]]
 +
 +
<br/>{{Languages}}
 +
 +
[[Category:BASCOM Language Reference]]
  
 
= <span class="f_Header">See also</span> =
 
= <span class="f_Header">See also</span> =

Latest revision as of 23:07, 15 June 2015

Contents

Action

Transmits the channel data to the defined port pin.

 

 

Syntax

RB_SEND

 

 

Remarks

The WS2812 will latch the received information. You only need to use RB_SEND when you want to send new color information.

Some statements and functions will call RB_SEND internally.

 

The following table shows which statements update the LED at once


STATEMENT

UPDATE LED

RB ADDCOLOR

-

RB ANDCOLOR

-

RB ORCOLOR

-

RB SUBCOLOR

-

RB CLEARSTRIPE

YES

RB CLEARCOLORS

-

RB FILL

YES

RB FILLCOLORS

-

RB FILLSTRIPE

YES

RB SELECTCHANNEL

-

RB_SEND

YES

RB SETCOLOR

-

RB SWAPCOLOR

-

RB ROTATELEFT

-

RB ROTATERIGHT

-

RB SHIFTLEFT

-

RB SHIFTRIGHT

-

RB CHANGEPIN

-

RB SETTABLECOLOR

-

RB GETCOLOR

-

RB LOOKUPCOLOR

-

 

 


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  

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