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\7188XC\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
”7188xc.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-7188XC Series User’s Manual(Ver.1.0, Apr/2007,7MH-21-10) ---
100
Содержание 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...