yo dude im not sure if this is what u mean but you want to be able to control the lcd by hooking the data pins from the LCD to random (unused) I/O Ports on the PIC?
i have a hardware design problem that is causing me to create much more code than i would like, it is that the lcd data pin are not on the same port next to eachother. If I were you i would make sure that you wire your lcd like this
' portB could be anyport as with portC its just to show the relationship
D7 - portB.3
D6 - portB.2
D5 - portB.1
D4 - portB.0
E - portC.0
RS - portC.1
it is important that the D lines are connected sequentially like this then you wont need to do much BIT math and be able to use the LCDOUT cmmand.
finally, if a sequential connection really 100% for sure is not an option then check out the Pic BAsic Compiler forums (not pic basic pro). and look for a title called "lcd on porta and portb" ill be in there. there is alot of data on how to control the lcds using simple commands. itll work but take a lot more code.
im sure that if your proto'ing the circuit youll find room to put these bad boys next to eachother. yes E is the clock, the lcd need 2 clock cycles when in 4 bit mode to get a complete byte. bite her back!.. the dog that is.




Bookmarks