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

KS0108


5 comments

26 Dec 2010

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..

27 Dec 2010

Still troubleshooting, probably will release it in two weeks once i clean it up a bit

27 Dec 2010

Lemme know if you want any help.

04 Jan 2011

You can also look at my LcdWindow library, which also contains a KS0108 driver (text only, with an 8x8 font). It doesn't allow usage of graphics, but allows the usage of sub-parts of the display (makes programming easier).

07 Dec 2011

I finally got around to using your library. For the life of me I cant get this sequence to work:

 

display.SelectFont(Arial12,BLACK,ReadData);
display.GotoXY(0,1);
display.PrintString("Hello");

You need to log in to post a comment