108
Smartcat (BL2100)
Displays a character on the display where the cursor is currently pointing. If any portion of a bitmap
character is outside the LCD display area, the character will not be displayed. The cursor increments its
position as needed.
NOTE:
Execute the
TextWindowFrame
function before using this function.
PARAMETERS
*window
is a pointer to a font descriptor.
ch
is a character to be displayed on the LCD.
RETURN VALUE
None.
SEE ALSO
TextGotoXY, TextPrintf, TextWindowFrame, TextCursorLocation
Prints a formatted string (much like
printf
) on the LCD screen. Only printable characters in the font
set are printed, also escape sequences, '\r' and '\n' are recognized. All other escape sequences will be
skipped over; for example, '\b' and 't' will print if they exist in the font set, but will not have any effect as
control characters.
The text window feature provides end-of-line wrapping and clipping after the character in the last col-
umn and row is displayed. The cursor then remains at the end of the string.
NOTE:
Execute the
TextWindowFrame
function before using this function.
PARAMETERS
*window
is a pointer to a font descriptor.
*fmt
is a formatted string.
...
are formatted string conversion parameter(s).
EXAMPLE
TextPrintf(&TextWindow, "Test %d\n", count);
RETURN VALUE
None.
SEE ALSO
TextGotoXY, TextPutChar, TextWindowFrame, TextCursorLocation
void TextPutChar(struct windowFrame *window, char ch);
void TextPrintf(struct windowFrame *window,
char *fmt, ...);
Содержание Smartcat
Страница 6: ...Smartcat BL2100 ...
Страница 14: ...8 Smartcat BL2100 ...
Страница 60: ...54 Smartcat BL2100 ...
Страница 78: ...72 Smartcat BL2100 ...
Страница 84: ...78 Smartcat BL2100 ...
Страница 118: ...112 Smartcat BL2100 ...
Страница 124: ...118 Smartcat BL2100 ...
Страница 132: ...126 Smartcat BL2100 ...
Страница 134: ......