Quote Originally Posted by cncmachineguy View Post
But this time I think the sim is correct. I think you ment to set ADCON2, not ADCON1. ADCON 2 sets right or left justified. Default is left justified.
How do you right-justify bits?
tb0=ntc>>8?

Or there is an another command?