ok, but what about this loop here, can i do that, having multiple a/d conversion on one chip ?
loop:
ADCON0 = %10000001 ' Configure and turn on A/D Module
ADCIN porta.0, input1
pause 50
ADCON0 = %10001001 ' Configure and turn on A/D Module
ADCIN porta.1, input2
pause 50
From the definition of ADCON0, I can only choose one pin for A/D conversion. Maybe thats why it get mixed up .
Bookmarks