AT89S51 + 16x2 LCD
Discussion in "Project Addition or Changes" started by SGH Apr 21, 2007.
Sat Apr 21 2007, 11:50 am
Hi Rickey, I'm trying to write some code for above parts.
1). For 8-bit operation : P0.0 - P0.7 for data and P3.2, P3.3 & P3.4 for RS, RW and E. Will I have problem with Port O as it is an open drain type ?. Will I need pull ups resistor for P0 ?.
2). For 4-bit operation : P0.4 - P0.7 for data and P3.2, P3.3 & P3.4 for RS, RW and E. Same question as above.
Thanks,
SGH
Tags p3p0pull upsampopen drain
1). For 8-bit operation : P0.0 - P0.7 for data and P3.2, P3.3 & P3.4 for RS, RW and E. Will I have problem with Port O as it is an open drain type ?. Will I need pull ups resistor for P0 ?.
2). For 4-bit operation : P0.4 - P0.7 for data and P3.2, P3.3 & P3.4 for RS, RW and E. Same question as above.
Thanks,
SGH
Sat Apr 21 2007, 06:53 pm
Pullups are must.. there is no problem in using P0. all ports are same, the only difference is.. that.. P0 need pullups. you can use any pin you want and consider it as a normal port.
Sai Rajesh like this.
Tags pullupsp0
Powered by e107 Forum System