Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

hi all glcd 128 * 64 help needed

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive
View previous topic :: View next topic  
Author Message
PaulC

Bascom Member



Joined: 09 Jan 2008
Posts: 122
Location: Ireland

ireland.gif
PostPosted: Sun Oct 26, 2008 12:49 am    Post subject: hi all glcd 128 * 64 help needed Reply with quote

hi all glcd 128 * 64 help needed
bought 3 of em from mikroelektronika website.
struggling to use em with full version bascom avr 1.11.9.2
just cannot figure out pinout to glcd config in bascom..
attached file is all info i can get for em..

_________________
Bascom Avr 2.0.7.3
Works for me
Back to top
View user's profile
jenalcom

Bascom Member



Joined: 10 Apr 2004
Posts: 362
Location: Perth, Western Australia

australia.gif
PostPosted: Sun Oct 26, 2008 5:15 am    Post subject: Reply with quote

Hi

Presuming you have a display with a KS0108 You need a config line near the top of your programme as so:

Config Graphlcd = 128 * 64sed , Dataport = Porta , Controlport = Portc , Ce = 0 , Ce2 = 1 , Cd = 4 , Rd = 3 , Reset = 2 , Enable = 5 , Mode = 6

It appears that the names used in that PDF are different from the Bascom names as:

PDF Bascom
CS1 CE
CS2 CE2
RS CD
RW RD
E Enable
RST Reset

Of course you use the ports that you want to use! Set the contrast pot so that you can just see a faint dark background to make sure it is about right.

Hope that works for you

Alan
Back to top
View user's profile
PaulC

Bascom Member



Joined: 09 Jan 2008
Posts: 122
Location: Ireland

ireland.gif
PostPosted: Sun Oct 26, 2008 8:36 am    Post subject: fantastic Reply with quote

gonna try this today
much appreciated couldn't carry on with project
till sorted this out.
when project finished i will post on forum
many thanks
PaulC

_________________
Bascom Avr 2.0.7.3
Works for me
Back to top
View user's profile
PaulC

Bascom Member



Joined: 09 Jan 2008
Posts: 122
Location: Ireland

ireland.gif
PostPosted: Sun Oct 26, 2008 3:15 pm    Post subject: hi jenalcom Reply with quote

thank you jenalcom
worked a treat ,when i finally got it
passed that block of wood ,in me head...

_________________
Bascom Avr 2.0.7.3
Works for me
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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
You cannot attach files in this forum
You cannot download files in this forum