Hello all,
I am running into a issue which I can not seem to solve. In migration from PIC16K690 to PIC18F26K22 I am not able to have my inputs function correctly(meaning I have no input functionality at all). Lets say for example I am using PORTA RA1 as my pin here. Now I have set my ansela to "clrf ansela" and have turned off my comparators in cm1con0 and cm2con0. I have set my trisa to 1 for RA1. When tested this pin works as an output when set up as such, so I know the pin is operable....
PIC18 input difficulties
I am running into a issue which I can not seem to solve. In migration from PIC16K690 to PIC18F26K22 I am not able to have my inputs function correctly(meaning I have no input functionality at all). Lets say for example I am using PORTA RA1 as my pin here. Now I have set my ansela to "clrf ansela" and have turned off my comparators in cm1con0 and cm2con0. I have set my trisa to 1 for RA1. When tested this pin works as an output when set up as such, so I know the pin is operable....
PIC18 input difficulties