Go Down

Topic: Graphic LCD (KS0108) library now available (Read 49 times) previous topic - next topic

mem

Hi Digger, let me know how you get on with the new chip.

And if you find some source code that supports both chips, please post a link, it will be interesting to see similar or different the read/write routines need to be.

Digger450

Haven't had much time to look into this further, but I did find some code for the serialwombat that should provide some insight.  If you want to take a look it can be found here: http://www.serialwombat.com/sdk/sdk_lcd101.htm

tyggerjai

I've tried this on a graphic LCD I got from here: http://futurlec.com/LED/BLUE128X64LCD.shtml with no luck.

It's a "B" style pinout, and although the LCD lights up and I get contrast adjustment, I get no actual graphics from the Arduino. I do get a slight flicker running down the screen with a medium contrast, but that's it.

I've triple checked the wiring - the only thing I'm not sure of is the resistor to the backlight, but it's 180 Ohm (in the middle of the range given), and I can't see how that would affect data. Any clues?

I'm using a diecimila with Arduino v0010.

Thanks!

jai.
.

mem

Quote
I've tried this on a graphic LCD I got from here: http://futurlec.com/LED/BLUE128X64LCD.shtml with no luck.

It's a "B" style pinout, and although the LCD lights up and I get contrast adjustment, I get no actual graphics from the Arduino. I do get a slight flicker running down the screen with a medium contrast, but that's it.

I've triple checked the wiring - the only thing I'm not sure of is the resistor to the backlight, but it's 180 Ohm (in the middle of the range given), and I can't see how that would affect data. Any clues?

I'm using a diecimila with Arduino v0010.

Thanks!

jai.
.

Hi jai,

Try adding the following line to the ks0108.h  file
#define PUBLISH

Just before the line
#ifndef PUBLISH

delete the ks0108.o file and recompile your sketch.

tyggerjai

Quote
Quote
I've tried this on a graphic LCD I got from here: http://futurlec.com/LED/BLUE128X64LCD.shtml with no luck.
...

Hi jai,

Try adding the following line to the ks0108.h  file
#define PUBLISH

Just before the line
#ifndef PUBLISH

delete the ks0108.o file and recompile your sketch.


Brilliant, works a charm, thank you very much. Did I miss something in the playground how-to, or is that undocumented?

jai.
.

Go Up