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 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
Pin Name | EN | R/W | RS | CS1 | CS2 | RST | NC | NC |
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 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
Pin Name | DB0 | DB1 | DB2 | DB3 | DB4 | DB5 | DB6 | DB7 |
DB0-DB7: LCD Data Port
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/