
iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 144
A.3. mmi100.lib
“mmi100.lib” is the special LCD user function library for iVIEW-100. Please
include the header file “mmi100.h”, and add “mmi100.lib” into the project to
implement the LCD function.
No.
Type
Function Description
InitLCD Initial LCD in the beginning, return 0 for true
CloseLCD Close LCD when finish, return 0 for true
1
initial &
close LCD
ClrScrn Clear all display in LCD
Pixel Give (X,Y) to draw a dot
VLine Give 1X, 2Y to draw a vertical line
HLine Give 2X, 1Y to draw a horizontal line
Line Give 2 points to draw a line
Box Give 2 points to draw a box
2
Draw &
BMP
picture
(pixel)
BmpShowAt Give a beginning point & a BMP filename to
show the BMP picture
UnderLine Give a begging point & length to print underline
TextOutAt Give (X,Y) to print char text
DrawText Give (X,Y) to print unsigned char text
LcdPrintfAt Give (X,Y) to print char text
IntOutAt Give (X,Y) & length to print integer number
RealOutAt Give (X,Y), length, decimal, float to print real
number
3
Text &
icon
(character
)
lamp
Give (X,Y) to print lamp icon, color: 1= , 0=
SetCursorLine Set cursor’s thick from 0 to 8, 0=cursor off
SetCursorAt Set cursor to (X,Y)
4
Cursor
GetCursorAt Get cursor position (X,Y)
LCDBright Set LCD bright from 0 to 7, 0=light off
LCDSetToPage Set LCD pages from 1 to 8, default=1
5
Page &
bright
GetLCDPage Get LCD page set number