I neglected to mention that I'm using the built-in LCD.C driver. The issue seems to be that the enable pin is set high and low at different junctures in different routines in there. So you can't just turn it on or off.
I suppose I will have to customize the LCD.C routines to accept a display# parameter, and then change them all to address the enable pin for that display#.
Has anyone written a version of LCD.C for multiple displays?
Thanks!
//Cynthia
PICoHolic
Joined: 04 Jan 2005 Posts: 224
Posted: Fri Mar 17, 2006 6:54 am
Let me give you a hint:
If you notcied in the LCD.c, they're using a structure mapped to a specific port. This particular structure has 7 significant bits and one unused bit. What you can do is to use this particular bit to enable a second LCD.
Note:
You may connect the LCDs on a bus.
You should be careful when reading the status of the LCDs (one at a time)
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