Header: #include
”7188xb.h”
Description: Clears the data currently stores in the COM Port buffer.
The COM Port number is not assigned and can be
modified using the “port” parameter.
port: assigns the COM Port number
Example: Please refer to “InstallCom()” for an example.
ClearCom1()
Function: Clears the data currently stored in the buffer of COM1.
Syntax:
int ClearCom1(void);
Header: #include
”7188xb.h”
Description: Clears the data currently stored in buffer of COM1.
Assigned to COM1.
Example: Please refer to “InstallCom1()” for an example.
ToCom()
Function: Sends data to the COM Port. The COM Port number is
not assigned.
Syntax:
int ToCom(int port);
Header: #include
”7188xb.h”
Description: Sends data to the COM Port. The COM Port number is
not assigned and can be modified using the “port”
parameter.
port: assigns the COM Port number
Example: Please refer to “InstallCom()” for an example.
ToCom1()
Function: Sends data to COM1.
Syntax:
int ToCom1(void);
Header: #include
”7188xb.h”
Description: Sends data to COM1. Assigned to COM1.
Example: Please refer to “InstallCom1()” for an example.
printCom()
Function: Prints data to COM and PC. The COM Port number is not
assigned.
Syntax:
int printCom(int port,char *fmt,...);
I-7188XB Series User’s Manual(Ver.1.0, Apr/2007,
7MH-020-10
) ---
107
Summary of Contents for I-7188XB Series
Page 88: ...I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 88...
Page 138: ...I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 138...
Page 144: ...Step 8 Make the project I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 144...
Page 151: ...Step 8 Rebuild the project I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 151...