Manual of Board ET-TOUCH PAD 4x4 V2
www.etteam.com
-
12
-
1
3
2
4
5
6
7
8
9
0
SHIFT
HELP
ENTER
CLEAR
‘5’ = ON-LED Row1 4 ดวง
‘6’ = ON-LED Row2 4 ดวง
‘7’ = ON-LED Row3 4 ดวง
‘ 8’ = ON-LED Row4 4 ดวง
Ex.
Send Command to turn on all LED (ON)
Main()
{
char
enter = 0x0D ;
printf(‚#LE=0‛,enter) ;
//Sent Command On-LED ALL
}
4.) COMMAND ‘LD’ (LED-DISABLE)
This Command OFF-LED Status key is to turn off all LED at once or turns off 4 LEDs in each time along of Colum or
Row; it depends on the format that use chose. There are 9 formats of Command OFF-LED as follows;
Format OFF-LED: Set format of OFF LED as follows;
‘0’ = OFF-LED ทั้งหมด 16 ดวง
‘1’ = OFF-LED Colum1 4 ดวง
‘2’ = OFF-LED Colum2 4 ดวง
‘3’ = OFF-LED Colum3 4 ดวง
‘ 4’ = OFF-LED Colum4 4 ดวง
‘5’ = OFF-LED Row1 4 ดวง
‘6’ = OFF-LED Row2 4 ดวง
‘7’ = OFF-LED Row3 4 ดวง
‘ 8’ = OFF-LED Row4 4 ดวง
Ex.
Send Command to turn off all LED at once
Main()
{
char
enter = 0x0D ;
printf(‚#LD=0‛,enter) ;
//Sent Command OFF-LED ALL
}
NOTE
: When sending Commands consecutively, it always checks status of Respond Command between Commands that are sent out, or it
may set the proper Delay between Commands because it protects commands that are consecutively sent out from overlaid and the
transmission of data may be incorrect.
Start Command Mark#1
Format OFF-LED
END
Byte1 Byte2-3
Byte4
Byte5
Byte6
#
LD
=
‘0-8’
Enter (0x0D)
Respond Command จำก Board
*
OK
Format =
‘5’
Format =
‘6’
Format =
‘7’
Format =
‘8’
Format =
‘0’
Format =
‘1’
Format =
‘2’
Format =
‘3’
Format =
‘4’
Format =
‘5’
Format =
‘6’
Format =
‘7’
Format =
‘8’