A4 can be used for an output, but it only goes high if you use an enternal pull-up resistor.