View previous topic :: View next topic |
Author |
Message |
PaulC
Joined: 09 Jan 2008 Posts: 122 Location: Ireland
|
Posted: Sun Oct 26, 2008 12:49 am Post subject: hi all glcd 128 * 64 help needed |
|
|
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 |
|
|
jenalcom
Joined: 10 Apr 2004 Posts: 365 Location: Perth, Western Australia
|
Posted: Sun Oct 26, 2008 5:15 am Post subject: |
|
|
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 |
|
|
PaulC
Joined: 09 Jan 2008 Posts: 122 Location: Ireland
|
Posted: Sun Oct 26, 2008 8:36 am Post subject: fantastic |
|
|
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 |
|
|
PaulC
Joined: 09 Jan 2008 Posts: 122 Location: Ireland
|
Posted: Sun Oct 26, 2008 3:15 pm Post subject: hi jenalcom |
|
|
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 |
|
|
|