Joined: 16 Oct 2006 Posts: 110 Location: HOVE, EAST SUSSEX
Help with EX_GLCD.C
Posted: Thu Dec 14, 2006 10:53 am
Hi Guys
This is the first time i am attempting to run the example programme
EX_GLCD.C for a 64x128 samsung KS0108 chipset put the glcd just displays garbage.
my connections the to GLCD are as follows
PIC GLCD(PINS)
E2 CS1 >1
E1 CS2 >2
XXX GND >3
XXX +5V >4
XXX Vo >5
C1 RS > 6
C0 R/W
E0 EN
D7 - D0 connects to DB7 - DB0
RST > +5V
And i changed GLCD.C as follows
Those two lines contradict each other. The driver wants the RST pin
on the GLCD to go to a PIC pin. You have it connected to +5v.
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
Posted: Thu Dec 14, 2006 12:50 pm
I think your command data pin is what you call RS.
You've got it connected, so try it and find out. Shouldn't hurt anything.
BOB_SANTANA
Joined: 16 Oct 2006 Posts: 110 Location: HOVE, EAST SUSSEX
Posted: Thu Dec 14, 2006 1:40 pm
Thanks Guys for the help
I have just followed your advice and it is now working fine
i had to use the following defines as you suggested
Wow this is fun
C is the king i should have started using it years ago
learnt alot from you all.
i am going to try and write a few messages to the display and see
i am a bit confuse though as my rst line is connected to 5v 0n my proton
development board
i tried i put an attachment with this post but i couldn't to show you what i mean _________________ BOB_Santana
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum