Mikroelektronika MIKROE-350 データシート
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
T6963C_Init
445
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure T6963C_init(dim width, height, fntW as byte)
Returns
Nothing.
Description
Initalizes the Graphic Lcd controller.
Parameters :
-
width:
width of the Glcd panel
-
height:
height of the Glcd panel
-
fntW:
font width
Display RAM organization:
The library cuts the RAM into panels : a complete panel is one graphics panel
followed by a text panel (see schematic below).
The library cuts the RAM into panels : a complete panel is one graphics panel
followed by a text panel (see schematic below).
schematic:
+---------------------+ /\
+ GRAPHICS PANEL #0 + |
+ + |
+ + |
+ + |
+---------------------+ | PANEL 0
+ TEXT PANEL #0 + |
+ + \/
+---------------------+ /\
+ GRAPHICS PANEL #1 + |
+ + |
+ + |
+ + |
+---------------------+ | PANEL 1
+ TEXT PANEL #2 + |
+ + |
+---------------------+ \/
+---------------------+ /\
+ GRAPHICS PANEL #0 + |
+ + |
+ + |
+ + |
+---------------------+ | PANEL 0
+ TEXT PANEL #0 + |
+ + \/
+---------------------+ /\
+ GRAPHICS PANEL #1 + |
+ + |
+ + |
+ + |
+---------------------+ | PANEL 1
+ TEXT PANEL #2 + |
+ + |
+---------------------+ \/
Requires
Global variables :
-
T6963C_dataPort:
Data Port
-
T6963C_ctrlPort:
Control Port
-
T6963C_ctrlwr:
Write signal pin
-
T6963C_ctrlrd:
Read signal pin
-
T6963C_ctrlcd:
Command/Data signal pin
-
T6963C_ctrlrst:
Reset signal pin
-
T6963C_dataPort_Direction:
Direction of Data Port
-
T6963C_ctrlPort_Direction:
Direction of Control Port
-
T6963C_ctrlwr_Direction:
Direction of Write signal pin
-
T6963C_ctrlrd_Direction:
Direction of Read signal pin
-
T6963C_ctrlcd_Direction:
Direction of Command/Data signal pin
-
T6963C_ctrlrst_Direction:
Direction of Reset signal pin
must be defined before using this function.