Hey Barry!
Thanks so much!!!
This did it!
I actually thought you could tell a 10-bit ADC to work as an 8-bit. But no worries! All is perfect once again!!DEFINE OSC 4
DEFINE ADC_BITS 10 ' 10 bit A/D Conversion
DEFINE ADC_CLOCK 4
DEFINE ADC_SAMPLEUS 50 ' 50 uS A/D sample time
PORTA = 0
PORTB = 0
TRISA = %00101100
TRISB = %00000000
ADCON1 =%11000000 'Right justified
ANSELA =%00000010 ' AN2 on PortA.2 analog
ANSELB =%00000000 ' Digital inputs
Bookmarks