Difference between revisions of "Graphics Display KS0108 with Explore M3"
|Line 44:||Line 44:|
Latest revision as of 14:10, 9 June 2016
The 128 x 64 graphics displays (GLCDs) like JHD12864 and other use KS0108 as the display controller. In this tutorial we will look at interfacing such a display with Explore M3. We will be using a graphics library written by Michael Margolis.
The pinout may differ according to the make of the LCD. For this sketch to work ensure that the pins are connected in the following manner. If you wish to change the pin configuration, it can be done in KS0108_pins.h file.
|D_I||2||Data direction or Register Select|
|D0||5||8 bit Data Bus|
|CSEL1||13||Chip select 1|
|CSEL2||14||Chip Select 2|
I will be using the demo code in the library which shows various shapes fonts and objects. This comes with the library itself.