RB ADDCOLOR
Aus MCS Wiki AVR
(Unterschied zwischen Versionen)
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 48: | Zeile 48: | ||
= <span style="font-size: 14pt; font-weight: bold;">Example</span> = | = <span style="font-size: 14pt; font-weight: bold;">Example</span> = | ||
− | See [[RB CHANGEPIN]] | + | See [[RB CHANGEPIN|RB_CHANGEPIN]] |
<br/>{{Languages}} | <br/>{{Languages}} | ||
[[Category:BASCOM Language Reference]] | [[Category:BASCOM Language Reference]] |
Aktuelle Version vom 15. Juni 2015, 22:28 Uhr
Inhaltsverzeichnis |
Action
Adds specified color info to the specified LED in memory
Syntax
RB_ADDCOLOR 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 exceeds 255, the value is limited to 255. You need to use RB_SEND so that the LED reflects the new color information.
See also
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 |
---|