Seems good, you have it left justified, but you read the highbyte.. that's not the problem here. So the question are
1) what doesn't work?
2) Expected to work on Internal or external OSC?
3) Config fuses?
PS: PBP 2.47 had some issue with that PIC about ADCIN and default clock. Problem solved in 2.50. Sur we had found a workaround in here somewhere...
Last edited by mister_e; - 13th November 2008 at 21:33.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks