OP7100
68 Software
•
int glInit()
Initializes the LCD module (software and hardware).
RETURN VALUE: the status of the LCD. If the initialization was
successful, this function returns 0. Otherwise, the returned value
indicates the LCD status.
•
int glPlotDot( int x, int y )
Plots one pixel on the screen at coordinate (x,y).
PARAMETERS:
x
is the x coordinate of the pixel to be drawn.
y
is the y coordinate of the pixel to be drawn.
RETURN VALUE: Status of the LCD after the operation.
•
void glPlotLine( int x1, int y1, int x2, int y2 )
Plots a line on the LCD.
PARAMETERS:
x1
is the x coordinate of the first endpoint.
y1
is the y coordinate of the first endpoint.
x2
is the x coordinate of the second endpoint.
y2
is the y coordinate of the second endpoint.
•
void glPrintf( int x, int y,
struct _fontInfo *pInfo, char *fmt,... )
Prints a formatted string (much like
printf
) on the LCD screen.
PARAMETERS:
x
is the x coordinate of the text (left edge).
y
is the y coordinate of the text (top-edge).
*pInfo
is the pointer to the font descriptor used for printing on the
LCD screen.
*fmt
is the pointer to the format string
•
void glPlotCircle( int xc, int yc, int rad )
Draws a circle on the LCD.
PARAMETERS:
xc
is the x coordinate of the center.
yc
is the y coordinate of the center.
rad
is the radius of the circle.
•
void glFillCircle( int xc, int yc, int rad )
Draws a filled-in circle on the LCD.
PARAMETERS:
xc
is the x coordinate of the center.
yc
is the y coordinate of the center.
rad
is the radius of the circle.
Summary of Contents for OP7100
Page 1: ...OP7100 Serial Graphic Display User s Manual 019 0065 070831 O ...
Page 10: ...OP7100 x About This Manual ...
Page 16: ...OP7100 16 Overview ...
Page 74: ...OP7100 74 Software ...
Page 82: ...OP7100 82 Graphics Programming ...
Page 88: ...OP7100 88 Installation ...
Page 98: ...OP7100 98 Specifications ...
Page 108: ...OP7100 108 Memory I O Map and Interrupt Vectors ...
Page 112: ...112 Serial Interface Board 2 OP7100 ...
Page 113: ...OP7100 Backup Battery 113 APPENDIX E BACKUP BATTERY ...
Page 116: ...OP7100 116 Backup Battery ...
Page 124: ...OP7100 124 Index ...
Page 126: ...XX0000 Schematics ...