Hi,

Generally, RA.4 is an open collector as output pin ...

need to be checked ... but 100% sure !!!

Alain