![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm3309/rabbitcore-rcm3309_user-manual_3119427156.webp)
Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: [email protected] Website: www.integrated-circuit.com
User’s Manual
149
TextPrintf
void TextPrintf(struct windowFrame *window, char *fmt, ...);
DESCRIPTION
Prints a formatted string (much like
printf
) on the LCD screen. Only printable char-
acters in the font set are printed; escape sequences '\r' and '\n' are also recognized. All
other escape sequences will be skipped over; for example, '\b' and \'t' will will cause
nothing to be displayed.
The text window feature provides end-of-line wrapping and clipping after the character
in the last column 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
a pointer to a font descriptor.
fmt
a pointer to a formatted string.
...
formatted string conversion parameter(s).
EXAMPLE
TextPrintf(&TextWindow, "Test %d\n", count);
RETURN VALUE
None.
SEE ALSO
TextGotoXY, TextPutChar, TextWindowFrame, TextCursorLocation
156 / 191
156 / 191