Header: #include
”7188xc.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
”7188xc.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
”7188xc.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
”7188xc.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-7188XC Series User’s Manual(Ver.1.0, Apr/2007,7MH-21-10) ---
105
Содержание I-7188XC Series
Страница 87: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 87...
Страница 136: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 136...
Страница 142: ...Step 8 Make the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 142...
Страница 149: ...Step 8 Rebuild the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 149...