The graphical LCD has a 128×64 resolution and can be used to display monochrome images, custom texts in different fonts etc. Graphical LCD uses two ports, J41 and J42. By default, we can connect it to J43 (Port D) and J44 (Port A).
The switch SW2 should be turned ON to use the Graphical LCD.
Graphical LCD section in OpenLab
GLCD1 – Control Port
EN – LCD Enable bit
R/W – Read/ Write bit. High for Read and low for Write
RS – Register Select bit
CS1, CS2 – Chip select bits of internal controller
RST – Reset
NC – No connection
GLCD2 – Data Port
DB0-DB7: LCD Data Port
How to Use Graphical LCD in OpenLab
- Connect J42 (GLCD1) to J44 (Port A) or any other available port. Please note that first six pins are needed to operate GLCD
- Connect J41 (GLCD2) to J43 (Port D) or any other available port. It uses all the 8 pins of that port. So you can use Port D/Port B for this purpose.
- Switch ON the SW2 switch to turn ON the section.
- Define the used ports as output
Graphics LCD libraries for 128×64 resolution are available on this link. You can use this for advanced usage: http://en.radzio.dxp.pl/ks0108/