takao21203
- Joined Apr 28, 2012
- 3,702
I looked the datasheet and there is the CLRF ANSEL clearly printed.I thought I had remembered that this was the reset value. Double checking makes me realize it isn't.
OP: make sure you configure the pins as digital output pins through setting the ANSEL as takao suggested.
No pun intended- I know how it is simply not to notice some detail. One particular PIC bugged me a lot- I had the hardware debugger fuse ON and spent some hours without a clue (I never use hardware debugger).