I am using PORTE.0 as an analog input. I have configured the ADCON's like this:
ADCON0 = 171
ADCON1 = 176
The A/D conversion works great, but i cant usePORTE.1 as digital input at the same time.
In ADCON1 there is impossible to configure the AD one by one. I have to set all PORTA and PORTE to analog by setting bits 3-0 to 0000.
But then PORTE.1 doesn't work as a digital input, it just reads 0.
What can i do to get the other port working as digital?
ADCON0 = 171
ADCON1 = 176
The A/D conversion works great, but i cant usePORTE.1 as digital input at the same time.
In ADCON1 there is impossible to configure the AD one by one. I have to set all PORTA and PORTE to analog by setting bits 3-0 to 0000.
But then PORTE.1 doesn't work as a digital input, it just reads 0.
What can i do to get the other port working as digital?