View previous topic :: View next topic |
Author |
Message |
hayee
Joined: 05 Sep 2007 Posts: 252
|
port selection for LCD |
Posted: Sat Sep 05, 2009 3:08 am |
|
|
Hi,
Can I use any of the port for LCD connections or there is any restriction (in most cases I have seen that port D is using for LCD)?
I am using pic16f877A and I want to use 4-bit interfacing. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
hayee
Joined: 05 Sep 2007 Posts: 252
|
|
Posted: Wed Sep 09, 2009 11:12 pm |
|
|
What about if I change port bits which are using for LCD from "port D" to "port B". Will it work? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Sep 09, 2009 11:17 pm |
|
|
Don't use pins B6 and B7, because they are normally used by the ICD
debugger. |
|
|
hayee
Joined: 05 Sep 2007 Posts: 252
|
|
Posted: Sat Sep 12, 2009 4:54 am |
|
|
Hi,
I have purchased 20*2 LCD from a NewHaven Display.The number of lcd is (NDH-0220DZ-NSW-BBW). I want to know that can I use any of the lcd driver or not?
Is your flex lcd driver work with this? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sat Sep 12, 2009 11:22 am |
|
|
Yes, it's a normal LCD module.
Make sure you put 0.5 volts on the "Vo" pin, to set the contrast voltage. |
|
|
|