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
Printable View
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
Seems you've missed Section 7 & 9 of the said datasheet then...
ADCON0 = 0 and CM1CON0.3 = 0 should set all pins on the 12F510 to digital IO.