Argox PA-20 Programming Guide Manual de usuario Pagina 96

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 130
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 95
PT-20 Programming Guide
94
Remote
SetRemoteBaud
Purpose
Setting the RemoteLink baud rate.
Syntax
void SetRemoteBaud(int slBaud);
Example call
SetRemoteBaud (0);
Includes
#include “SDK.h ”
Description
This function can set RemoteLink baud rate(when use com port), the baud
rate setting as follows:
slBaud
Baud rate(bps)
0
115200
1
57600
2
38400
3
19200
4
9600
5
4800
Returns
None
GetRemoteBaud
Purpose
Getting the RemoteLink baud rate.
Syntax
int GetRemoteBaud(void);
Example call
Switch(GetRemoteBaud())
{
Case 0:
_printf_color(COLOR_RED, “RemoteLink baud rate=115200”);
Break;
Case 1:
_printf_color(COLOR_RED, “RemoteLink baud rate=57600”);
Break;
Case 2:
_printf_color(COLOR_RED, “RemoteLink baud rate=38400”);
Break;
Case 3:
_printf_color(COLOR_RED, “RemoteLink baud rate=19200”);
Break;
Case 4:
_printf_color(COLOR_RED, “RemoteLink baud rate=9600”);
Break;
Vista de pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 129 130

Comentarios a estos manuales

Sin comentarios