Maybe this is a stupid question, already answered before, but I could not find the answer...
I am trying to use PORTC of a PIC18F14K50 as outputs.
To do so, I use:
ANSEL = 0
ANSELH= 0
TRISC = 0
PORTC = 0
IMHO this should configure PORTC as digital and set the outputs of PORTC low.
But it seems I can still pull the pins easily to high, using a resistor.
This gives me the impression that the pins are still inputs!
What am I overlooking?
Bookmarks