A SERVICE OF

logo

iVIEW-100 Series user’s Manual, 2006, v2.0 ----- 151
RealOutAt()
Func.: Give (X,Y) & length to print real number
Syntax:
int RealOutAt(int X, int Y, int Len, int Decimal ,float Value );
Header: #include ”mmi100.h”
Description:
X=1~16, Y=1~8, (X,Y): the beginning position to print
(1,1) is at the top-left of LCD, (16,8) is at the right-bottom.
Len: total length of real number, decimal point need one
character length
Decimal: decimal length of real number
Value: real number value
Note: X position plus length should not longer than 16+1
Example: 1. Please refer to “UnderLine()” for example.
2. RealOutAt(1,1,8,4,(float)123.5678) =>show 123.5678
RealOutAt(1,1,8,2,(float)123.5678) =>show 123.56
lamp()
Func.:
Give (X,Y) to print lamp icon
Syntax:
int lamp (int X, int Y,int Color);
Header: #include ”mmi100.h”
Description:
X=1~16, Y=1~8 (character)
(1,1) is at the top-left of LCD, (16,8) is at the right-bottom.
color: 1= , 0=
Example: Please refer to “UnderLine()” for example.