Joined: 24 May 2005 Posts: 53 Location: Kingston, Ontario, Canada
Posted: Thu May 26, 2005 4:08 am Post subject: Custom Graphic LCD Library
Hi,
I have a 240 x 128 graphic LCD attached to Mega64 as follows:
Dataport = PortC
Controlport -> WR = porta.4
FS = porta.5
RESET = porta.6
CE = porta.7
CD = portg.0
RD = portg.1
I've had success modifying the glcd.lib library so that I can get text to the display, but any time that I use the Showpic command, I get a solid block of pixels the size of the graphic.
I'm wondering if anyone can help me with the remaining modifications to the glcd.lib to get the graphics to work?
Thanks.
Max
Why did you have to modify the GLCD library? I am using 240x128 display with the atmega 128 and did not have to modify glcd library to write text or graphics to the display.
Joined: 24 May 2005 Posts: 53 Location: Kingston, Ontario, Canada
Posted: Mon Jun 13, 2005 6:11 pm Post subject:
Hi Jerry,
I had to modify the library because I was spanning the control port across two different ports. The current BASCOM library doesn't support the control pins across more than one port. Also, I'm using Port G, which has a limited command set compared to the rest of the ports. I've since been able to finish the modifications to the library to display graphics as well.
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