![NTI SM-8X8-C6HDR-HDBT Скачать руководство пользователя страница 5](http://html1.mh-extra.com/html/nti/sm-8x8-c6hdr-hdbt/sm-8x8-c6hdr-hdbt_manual_1715180005.webp)
Notice:
If you need to create the control interface yourself , the information below may be helpful.
Codes and Marks shown below :
The connection between PC and MCU uses RS232 communication;
COM setting shows below:
VB language:
MSComm1.CommPort = 1
MSComm1.Settings = "600,n,8,1"
MSComm1.Input Length = 0
MSComm1.InputMode = com Input Mode Text
C program language
:
Com port. Set Com Port (1);
Com port. Set Settings ("600,n,8,1");
Com port.Set InputMode(comInputModeText);
Com port. Set Input Length (0);
Sending data format must be : Navigation code + Key
Navigation code
(
Hexadecimal
)
i s
:
0xBA 0xBA 0xBF 0xC6 0x38
The table Below is all the
Sending data of
the simulation remote control
’
s keys.
The red typeface is key value.
Key
Sending data
(
Hexadecimal
)
0xBA 0xBA 0x BF 0xC6 0x38
0x
31
Sending data
(
Hexadecimal
)
0xBA 0xBA 0xBF 0xC6 0x38 0x
32
Sending data
(
Hexadecimal
)
0xBA 0xBA 0xBF 0xC6 0x38 0x
33
Sending data
(
Hexadecimal
)
0xBA 0xBA 0xBF 0xC6 0x38 0x
34
Sending data
(
Hexadecimal
)
0xBA 0xBA 0xBF 0xC6 0x38 0x
35
Sending data
(
Hexadecimal
)
0xBA 0xBA 0xBF 0xC6 0x38 0x
36