Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
T6963C_Box
T6963C_Circle
461
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure T6963C_Box(x0, y0, x1, y1 : integer; pcolor : byte);
Returns
Nothing.
Description
Draws a box on Glcd
Parameters : 
x0
: x coordinate of the upper left box corner 
y0
: y coordinate of the upper left box corner 
x1
: x coordinate of the lower right box corner 
y1
: y coordinate of the lower right box corner 
pcolor
: color parameter. Valid values: T6963C_BLACK and T6963C_WHITE 
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_Init routine.
Example
T6963C_Box(0, 119, 239, 127, T6963C_WHITE);
Prototype
procedure T6963C_Circle(x, y : integer; r : longint; pcolor : word);
Returns
Nothing.
Description
Draws a circle on Glcd.
Parameters : 
x
: x coordinate of the circle center 
y
: y coordinate of the circle center 
r
: radius size 
pcolor
: color parameter. Valid values: T6963C_BLACK and T6963C_WHITE 
Requires
Toshiba Glcd module needs to be initialized. See the T6963C_Init routine.
Example
T6963C_Circle(120, 64, 110, T6963C_WHITE);