SetRemoteBaud
Purpose:
Setting the RemoteLink baud rate.
Syntax:
void SetRemoteBaud(int slBaud);
Example call:
SetRemoteBaud (0);
#include "SDK.h "
Includes:
Description:
This function can set RemoteLink baud rate(when use com port), the baud
rate setting as follows:
slBaud
0
1
2
3
4
5
Returns:
None
GetRemoteBaud
Purpose:
Getting the RemoteLink baud rate.
Syntax:
int GetRemoteBaud(void);
Example call:
Switch(GetRemoteBaud())
{
Case 0:
Case 1:
Case 2:
Case 3:
Case 4:
PT-20 Programming Guide
Remote
Baud rate(bps)
115200
57600
38400
19200
9600
4800
_printf_color(COLOR_RED, "RemoteLink baud rate=115200");
Break;
_printf_color(COLOR_RED, "RemoteLink baud rate=57600");
Break;
_printf_color(COLOR_RED, "RemoteLink baud rate=38400");
Break;
_printf_color(COLOR_RED, "RemoteLink baud rate=19200");
Break;
_printf_color(COLOR_RED, "RemoteLink baud rate=9600");
Break;
94