-
PIC12F675 and ADCIn
Hi,
I am using the ADCIN feature and have a q?
I set
ANSEL = 7 so to set AN0,1,2 to Analogue and AN3 to Digital
ADCIN 0 for AN0
ADCIN 1 for AN1
ADCIN 2 for AN2
however I can only get feedback from AN0 and AN1 but not from AN2?
I can provide complete code if required
regards
-
OOps,
If you want the data to be read you must store in the same place!
I set the reading of ADCIN 3, Result_Ch2
Where as it should be ADCIN 3, Result_Ch3
Must be getting late!
-
Hi Pete,
Could you please post your code, as i wish to use the 675 A/D myself, but am having trouble initialiaing it all. Have not used one of these little pics before.
I am wanting to use 1 analog input, 2 digital inputs, and 2 outputs.
Regards
Bob.....
-
Hi Bob,
Will post the the file when I get back to work on Monday.
I'll probably forget, so if you dont see, just ask me again.
regards