QWhat is the value of internal pull-ups in ports P2 and P3?
AThere are weak pullups on P2 / P3 ports.
You can see this when you look at the datasheet specifications.
Look under "DIGITAL OUTPUTS"
Isource for Voh (page 5) is only 20uAmps / 4 volts.
At higher currents, Voh will fall.
This means that, in most cases, you will have to add an external buffer.