Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

122*32 grapics LCD drive

 
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
Debu

Bascom Member



Joined: 06 Jan 2008
Posts: 21
Location: Dhaka

bangladesh.gif
PostPosted: Wed May 13, 2009 1:16 pm    Post subject: 122*32 grapics LCD drive Reply with quote

Hi All,

Can anyone tell me there is a way to use 122*32 grapics LCD I have a big Problem.
I can't configer the lcd and connection. There are no option to write Config GRAPHLCD = 122*32. ---------------------------------------

I need how can I Configr a GRAPHLCD and Configration of GRAPHLCD PIN

I don't understand the connection of some pin of lcd like CS1, CS2

http://datasheet.digchip.com/371/371-00163-0-PG12232-A.pdf

Can anyone help me?

DEBU
Back to top
View user's profile AIM Address Yahoo Messenger MSN Messenger
AdrianJ

Bascom Expert



Joined: 16 Jan 2006
Posts: 2483
Location: Queensland

australia.gif
PostPosted: Wed May 13, 2009 11:33 pm    Post subject: Reply with quote

Assuming the LCD uses the common SED1520 graphics controller, the command to config the LCD is

Config Graphlcd = 120 * 64sed , Dataport = Portc , Controlport = Portd , Cd = 2 , Rd = 1 , Ce = 3 , Ce2 = 4 , Reset = 0

You can set the Dataport and ControlPort to whatever you like, and the pins too. LCD CS1 is Ce, CS2 is Ce2.

Place the command
$lib "glcdSED122.lib"
somewhere after the $regfile statement in your code to pull in the graphics library.

_________________
Adrian Jansen
Computer language is a framework for creativity
Back to top
View user's profile Visit poster's website
wielklem

Bascom Member



Joined: 20 Nov 2008
Posts: 47
Location: the Netherlands

blank.gif
PostPosted: Thu May 14, 2009 9:05 pm    Post subject: Reply with quote

datasheet with the controller

it uses the 1520 allright Smile

there is an example in the bascom program witch shows how to use the chipset of this display.
you can find it in
C:\Program Files\MCS Electronics\BASCOM-AVR\SAMPLES\LCDGRAPH
Back to top
View user's profile
Frankeman

Bascom Member



Joined: 11 Aug 2004
Posts: 948
Location: the Netherlands

netherlands.gif
PostPosted: Thu May 14, 2009 10:29 pm    Post subject: Reply with quote

Can you tell what Bascom compiler you are using, AVR or 8051 because you also asked this question in the Bascom 8051 section.
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