PDA

View Full Version : Comparator and ADC PIC12F510



nobner
- 19th May 2012, 21:34
Hello,
can anybody please tell me, how i can disable ALL comparators and ADC on the PIC12F510?
I looked in the datasheet, but i didn't found the correct syntax (CMCON...??, ADCON...??)
Thanks in advance!
Best regards
Norbert

mister_e
- 19th May 2012, 21:51
Seems you've missed Section 7 & 9 of the said datasheet then...

pedja089
- 19th May 2012, 22:12
Try this
http://www.picbasic.co.uk/forum/showthread.php?t=11100

shahidali55
- 20th May 2012, 06:53
ADCON0 = 0 and CM1CON0.3 = 0 should set all pins on the 12F510 to digital IO.