View previous topic :: View next topic |
Author |
Message |
Debu
Joined: 06 Jan 2008 Posts: 21 Location: Dhaka
|
Posted: Wed May 13, 2009 1:16 pm Post subject: 122*32 grapics LCD drive |
|
|
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 |
|
|
AdrianJ
Joined: 16 Jan 2006 Posts: 2483 Location: Queensland
|
Posted: Wed May 13, 2009 11:33 pm Post subject: |
|
|
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 |
|
|
wielklem
Joined: 20 Nov 2008 Posts: 47 Location: the Netherlands
|
Posted: Thu May 14, 2009 9:05 pm Post subject: |
|
|
datasheet with the controller
it uses the 1520 allright
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 |
|
|
Frankeman
Joined: 11 Aug 2004 Posts: 948 Location: the Netherlands
|
Posted: Thu May 14, 2009 10:29 pm Post subject: |
|
|
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 |
|
|
|