after adding that none of the adc works. let me post the actual code im using not the base code, i will include the code you posted

Code:
DEFINE ADC_BITS 10 ' A/D number of bits
DEFINE ADC_CLOCK 1 ' Use A/D internal RC clock
DEFINE ADC_SAMPLEUS 50 ' Set sampling time in us
ADCON2.7 = 1
ADCON1 = %00001100
TRISA = %00000111 
TRISD = %00000000 ' PORTD is output
 
LCDOUT $FE, 1 ' Clear LCD
PAUSE 500 ' Wait 0.5sec for LCD to initialize
SETT Var Word ' A/D converter result in 10bit
READT var word
AGAIN:
ADCIN 0, READT ' Read Channel 0 data
ADCIN 1, SETT ' Read Channel 0 data
ReadT = ReadT / 13 'this may change depending on thermostat
SETT = SETT / 1024 'Output = 0 - 63
readT = (((readT / 10) * 9) / 5) + 33 'Convert ANA0 to Farent.
setT = sett + 40 ' Temp Range will be 40 - 103
LCDOUT $FE, 2
LCDOUT $FE, $80
LCDOUT "Set Temp = ", DEC setT , $DF , "F     "
LCDOUT $FE, $C0
LCDOUT "Temp = ", DEC READT , $DF , "F     "
pause 100
GOTO AGAIN ' Repeat