Hello,
I have PIC18F252 and use first 3 analog input with 10 bit resolution. On each input have trimmer 10K resistor between VCC and GND.
If set one or two trimmer to min.(gnd) then couldn't set third trimmer to over 800? Wheen set two
trimmer to max (VCC) then can set value on third trimmer to max 1023. Where i have made mistake?
my configuration are:
DEFINE ADC_BITS 10 ' ADCIN resolution (Bits)
DEFINE ADC_CLOCK 2 ' ADC clock source (Fosc/32)
DEFINE ADC_SAMPLEUS 11 ' ADC sampling time (uSec)
ADCON1=%10010010
ADCON0=%11000111
Samo
Bookmarks