I believe it's the ADCON0 = %00000000 'turn off adc

You probably get a reading the first loop through.
But for all loops after that, the A/D module is turned off.
<br>