KS0108 library
.
This program implements a library for a 128x64 display based on the KS0108 controller. The display I'm using is an ADM12864H-FSY-YBS/Z.
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
VDD | VSS | V0 | DB0 | DB1 | DB2 | DB3 | DB4 | DB5 | DB6 | DB7 | CS1 | CS2 | RES | RW | DI | E | VEE | A | K |
In order for the display to work properly a trimpot has to be connected to V0, alternatively one can use a 2 K resistor between V0 and VEE.
Currently ,the library does not support bounds checking so any out of bounds condition from incorrect usage of graphic functions results in erratic behaviour.
KS0108-driver -demostrates the lib functions
5 comments
You need to log in to post a comment
I've been messing around with a KS0108 display for the past couple days myself. I'd love to see your code at some point..