Manual of Board ET-TOUCH PAD 4x4 V2
www.etteam.com
-
11
-
1
3
2
4
5
6
7
8
9
0
SHIFT
HELP
ENTER
CLEAR
Ex.
Send Command ON-Buzzer for 1 second and then OFF-Buzzer
Main()
{
char
enter = 0x0D ;
printf(‚#BZ=1‛,enter) ;
//Sent Command On-Buzzer
delay_ms(1000) ;
printf(‚#BZ=0‛,enter) ;
//Sent Command Off-Buzzer
}
2.) COMMAND ‘BP’ (SOUND BEEP)
This Command produces Beep sound; in this case, it can set the length of Beep sound in the range of ‘0-9’. If setting Data = ‘1’,
the length of Beep sound is the shortest and it gradually increases the length of Beep sound according to the specific number. If setting Data
= ‘0’, the length of Beep sound is the longest. The format of Command is listed below;
Start Command Mark#1
Data
END
Byte1 Byte2-3
Byte4
Byte5
Byte6
#
BP
=
‘0-9’
Enter (0x0D)
Respond Command จำก Board
*
OK
Data = ‘0-9’: Length of Beep sound
When setting ‘1’, Beep sound is the shortest
‘0’, Beep sound is the longest
Ex.
Send Command to produce Beep sound and set the length of Beep sound as level ‘5’
Main()
{
char
enter = 0x0D ;
printf(‚#BP=5‛,enter) ;
//Sent Command Beep
}
3.) COMMAND ‘LE’ (LED-ENABLE)
This Command ON-LED Status Key is to turn on all LED at once or turn on 4 LEDs in each time along of Colum or Row;
it depends on the format that user chose. There are 9 formats of Command ON-LED as listed below;
Format ON-LED: Set format of ON LED as follows;
‘0’ = ON-LED ทั้งหมด 16 ดวง
‘1’ = ON-LED Colum1 4 ดวง
‘2’ = ON-LED Colum2 4 ดวง
‘3’ = ON-LED Colum3 4 ดวง
‘ 4’ = ON-LED
Colum4 4 ดวง
Start Command Mark#1
Format ON-LED
END
Byte1 Byte2-3
Byte4
Byte5
Byte6
#
LE
=
‘0-8’
Enter (0x0D)
Respond Command จำก Board
*
OK
Format =
‘0’
Format =
‘1’
Format =
‘2’
Format =
‘3’
Format =
‘4’