I compiled the test program that I had posted earlier in this thread,
only changing the PIC type to 18F2520. I used PCH vs. 3.249 and
I looked at the ASM code in the .LST file. It sets the ADFM bit properly,
so the result is right justified. It reads ADRESL and ADRESH.
I don't really see anything wrong.
Did you change the program ?
Can you post the exact test program that's you're using ?
Guest
Posted: Tue Jan 02, 2007 5:45 pm
Found it.
I had #use fixed io defined in the code that was not working correctly. After deleting that, it is working fine.
Thanks for all the suggestions though.
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum