Hey guys,
Im using a PIC16f627 for a little project im doing. I need to use pins RA0-RA4 as inputs. I have TRISA, CMCON and PORTA set up correctly but its just not working. I switched my circuit around to see if it was a problem with my code but its not as it works perfectly on PORTB. I have four 10k resistors connected to the four pins. I have no idea where im going wrong. Any help would be greatly appreciated.
Im using a PIC16f627 for a little project im doing. I need to use pins RA0-RA4 as inputs. I have TRISA, CMCON and PORTA set up correctly but its just not working. I switched my circuit around to see if it was a problem with my code but its not as it works perfectly on PORTB. I have four 10k resistors connected to the four pins. I have no idea where im going wrong. Any help would be greatly appreciated.