You have porta set to output try with resistor 4K7 between RA5 and VCC.