I-7188XA Series User’s Manual ( Ver1.2, Feb/2014, 7MH-019-10 ) ---
104
converted, and stored. The return value does not include
any scanned fields that were not stored.
Return:
0: No fields were stored.
EOF: Attempts to read have reached the end of the
string.
Example: See CD:\Napdos\7188XABC\7188XA\Demo\MSC\COM_
Ports\C_Style_IO\
Print()
Function: Prints a formatted character to the screen, and is similar
to the printf() function in the C language.
Syntax:
int Print(char *fmt,...);
Header:
#include ”7188xa.h”
Description: This function is used instead of printf(), and the only
difference between Print() and printf() is that Print() does
not convert the characters “\n” to “\n” + “\r”. That is “\n”
only sends the code 0x0A, not 0x0A + 0x0D, so “\n\r”
has to be used for “new line and return”. The printed
message is sent to COM4. (Default parameters are
115200, N, 8, 1)
Input Parameters: Please refer to the standard function printf() in the
C language.
Return:
The character number to be sent out.
Example: Please refer to “Kbhit()” for an example.
Содержание I-7188XA
Страница 62: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 62 5 6 COM1 RS 232 1 2 232...
Страница 90: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 90 1 2...
Страница 140: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 140...
Страница 146: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 146 Step 8 Make the project...
Страница 153: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 153 Step 8 Rebuild the project...
Страница 158: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 158...
Страница 161: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 161 Below snap shots are steps for install TC 3 0...
Страница 162: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 162...
Страница 164: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 164...