Hi,
I have some serious problems, I need to use PortD.0 to PortD.3 for digital I/O.
It just wont work,!!!
I have read that:
“PortD is also the PARALLEL SLAVE PORT. To make it a general purpose I/O port, Bit4 of TRISE must be set to 0 IE TRISE.4 = 0”
So I tried:
TRISE.4=0
And to be on the safe side I also tried:
ADCON1 = 7
CMCON=7
TRISD = %11111111
And it still doesn’t work, does anyone have an idea?
/ Petter
Bookmarks