Code:
ChkConv:
PEEK ADCON0, B2           'Check for bit 1 cleared to see if conversion is complete
if bit1 = 0 then ReadADC  'conversion is complete if bit 1 = 0, go read ADC output
pause 30
goto ChkConv              'conversion not complete, check again
The predefined symbol BIT1 is located in the B0 variable.
But you've read ADCON0 into B2, so it's not looking at the correct bit for GO/DONE.
<br>