@X4-0047-5
- 24 -
■
LCD backlight ON/OFF setting
You can set the LCD backlight ON/OFF.
The command length of the LCD backlight ON/OFF setting is 3 byte.
Syntax
:
B<value><CR>
Notes:
Input value in binary.
The value is 0 or 1. (0 : OFF, 1 : ON)
As shown below, the command line can be also described in binary.
<42h><value><0Dh>
※
hexadecimal representation
For example, in the case of Visual Basic, when you want to turn
the LCD backlight off, you can write as follows;
Dim Cmd
Cmd = “B” + Chr(0) + Chr(13)
or
Dim Cmd(2) As Byte
Cmd(0) = 66 : Cmd(1) =0 : Cmd(2) =13
Response
:
command
success
⇒
“VA”(Valid Argument) is returned.
command failure
Bad Command
⇒
“BC” is returned.
Bad Argument
⇒
“BA” is returned.