Argox PA-20 Programming Guide Manuel d'utilisateur Page 96

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 130
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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;
Vue de la page 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 129 130

Commentaires sur ces manuels

Pas de commentaire