Well.....
It's working... and what I did doesn't make ANY sense to me, but here it is.....
Since PORTE is the source of my problems, and I've stared at this since Friday, I thought maybe I programmed the TRIS register backwards (it doesn't make sense, I know, since my MSB-LSB works on the other registers, but, hey, I'm out of ideas, ok!!) so I purposely programmed the TRISE register BACKWARDS with
TRISE=%11100000
Well, it started to work! All 3 input pins on port E now function as they should! Then I checked all the default config stuff in my programmer to see if something could be amis there... everything looked okay.
I went back to the code, and changed the TRISE register back to
TRISE=%00000111
AND EVERYTHING STILL WORKS!! I'm completely at a loss, but thought I needed to pass along what I did. I changed NOTHING in the programmer.
Thanks for consternating with me....
Len
Bookmarks