Hello. I'm doing certain project, where I needed enough pins to interface with keyboard and so on. So I've decided to use PIC16F870. I have no problems working with Port B and Port C, but can't get the Port A to work either as TTL input or output. I've tried TRISA=0, TRISA=1, to set it as output or input but no luck - still does not works. I even tried to insert the assembly code for setting port A as digital input,m as in datasheet of 16f870, it made a huge mess to program, still does not worked. Any ideas? wiring is correct, I've double checked.