Argox PA-20 Programming Guide Bedienungsanleitung Seite 96

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 130
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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;
Seitenansicht 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 129 130

Kommentare zu diesen Handbüchern

Keine Kommentare