RB SEND
(Created page with "= <span class="f_Header">Action</span> = Transmits the channel data to the defined port pin. <span style="font-family: Arial;"> </span> <span style="font-family: Arial...") |
|||
(3 intermediate revisions by one user not shown) | |||
Line 25: | Line 25: | ||
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;"> | <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;" | {| cellspacing="0" cellpadding="0" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;" | ||
Line 33: | Line 33: | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | 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;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | 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;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | 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;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;"> | + | <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> | | 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;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="181" style="width: 181px; border: 1px solid rgb(0, 0, 0);" | | ||
− | <span style="font-family: Arial;">[[ | + | <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> | | valign="top" width="131" style="width: 131px; border: 1px solid rgb(0, 0, 0);" | <p style="text-align: center;">-</p> | ||
|} | |} | ||
</div> | </div> | ||
+ | | ||
+ | |||
+ | | ||
+ | <div style="font-size: 13.3333330154419px; padding: 0px; margin: 0px;"><br/></div> | ||
+ | |||
= <span class="f_Header">See also</span> = | = <span class="f_Header">See also</span> = | ||
Line 150: | Line 155: | ||
<br/>{{Languages}} | <br/>{{Languages}} | ||
− | [[Category: | + | [[Category:BASCOM Language Reference]] |
+ | |||
+ | = <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 [[RB CHANGEPIN|RB_CHANGEPIN]] | ||
+ | |||
+ | <br/>{{Languages}} | ||
+ | |||
+ | |||
+ | |||
+ | [[Category:BASCOM Language Reference]] |
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 |
- | |
- | |
- | |
- | |
YES | |
- | |
YES | |
- | |
YES | |
- | |
RB_SEND |
YES |
- | |
- | |
- | |
- | |
- | |
- | |
- | |
- | |
- | |
- |
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 |
---|