Tjena Jonas,
You don't show the rest of your program. You need "CMCON = 7" somewhere in the beginning of your program. I would also recommend you to write something to the two missing bits in "trisio = %001100", just to make sure PBP gets everything aligned correctly. You should also add "DEFINE OSCCAL_1K 1" to calibrate the internal oscillator. You also need to make sure that your programmer actually sets the configuration to what you want, not all programmers do. If this won't make it work you'll need to post all of your code.
Harebra
/Ingvar
Bookmarks