A SERVICE OF

logo

iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 65
5.1.2 LCD library: mmi100.lib
Please refer to mmi100.h to see the function declarations.
All the LCD demo programs are in the folder of LCD. For more detail
description and demo programs information please see the
Appendix A: User function.
Type
Function Description
InitLCD Initial LCD in the beginning, return 0 for true
CloseLCD Close LCD when finish, return 0 for true
initial & close
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
Draw & BMP
picture (pixel)
(X,Y) :
X=1~128
Y=1~64
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
Text & icon
(character)
(X,Y) :
X=1~16
Y=1~8
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)
Cursor
(X,Y) :
X=1~16
Y=1~8
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
Page &
bright
GetLCDPage Get LCD page set number