OP7100
64
s
Software
int op71GetPfStep( void );
Gets the current
op71Printf
printing step direction. Each step
direction is independent of the other, and is treated as an 8-bit signed
value. The actual step increments depend on the height and width of the
font being displayed, which are multiplied by the step values.
Use
op71SetPfStep
to control the x and y printing step direction.
RETURN: The x step is returned in the MSB, and the y step is
returned in the LSB of the integer result.
void op71SetPfStep( int stepX, int stepY );
Sets the
op71Printf
printing step direction. The x and y step direc-
tions are independent signed values. The actual step increments depend
on the height and width of the font being displayed, which are multi-
plied by the step values.
Use
op71GetPfStep
to examine the current x and y printing step
direction.
PARAMETERS:
stepX
is the
op71Printf
x step.
stepY
is the
op71Printf
y step.
void op71Printf( int x, int y, struct _fontInfo
*pInfo, char *fmt, ... );
Prints a formatted string (much like
printf
) on the LCD screen. Only
character codes that exist in the font are printed, others are skipped
over. For example, '\b', '\t', '\n', and '\r' (ASCII backspace, tab, new line
and carriage return, respectively) print if they exist in the font, but have
no effect as control characters.
Use
op71SetPfStep
to control or use
op71GetPfStep
to examine
the current x and y printing step direction.
PARAMETERS:
x
is the x-coordinate of the text (left edge).
y
is the y-coordinate of the text (top edge).
pInfo
is a pointer to the font descriptor.
fmt
is a pointer to the format string...
Keypad Programming
The same library used in Dynamic C v. 5.xx,
KP_OP71.LIB
, is used with
Dynamic C 32. The function calls are described later in this chapter.
Содержание OP7100
Страница 1: ...OP7100 Serial Graphic Display User s Manual 019 0065 020418 J ...
Страница 10: ...OP7100 x s About This Manual ...
Страница 16: ...OP7100 16 s Overview ...
Страница 50: ...OP7100 50 s Hardware ...
Страница 51: ...OP7100 Software s 51 CHAPTER 4 SOFTWARE Chapter 4 describes the Dynamic C functions used with the OP7100 ...
Страница 72: ...OP7100 72 s Software ...
Страница 80: ...OP7100 80 s Graphics Programming ...
Страница 86: ...OP7100 86 s Installation ...
Страница 96: ...OP7100 96 s Specifications ...
Страница 110: ...110 s Serial Interface Board 2 OP7100 ...
Страница 111: ...OP7100 Backup Battery s 111 APPENDIX E BACKUP BATTERY ...
Страница 114: ...OP7100 114 s Backup Battery ...
Страница 122: ...OP7100 122 s Index ...