MSD-402 Command Guide
32
@GBC / @SBC
Background color
Function
Getting
Setting
Format
@GBC, ch
@SBC, ch_1, red_1, green_1, blue_1
(, ch_2, red_2, green_2, blue_2)
Return value
@GBC, ch, red, green, blue
@SBC, ch_1, red_1, green_1, blue_1
(, ch_2, red_2, green_2, blue_2)
Parameter
ch: Output channel
1 = OUT1, 2 = OUT2
ch_1-2: Output channel
0 = All outputs (OUT1, OUT2), 1 = OUT1, 2 = OUT2
red / red_1-2
: Background color (Red)
green / green_1-2
: Background color (Green)
blue / blue_1-2
: Background color (Blue)
0 to 255 [Default]: 0 (black)
Example
@GBC,1
@GBC,1,128,128,128
Getting OUT1 background color.
RGB: 128 (gray)
。
@SBC,1,128,128,128
@SBC,1,128,128,128
Setting OUT1 background color to 128
(gray) for all RGB.
Completed normally.
Remarks
-