Faisal Nouman
Junior Member level 1
Hello people
i want to know how can i disable the comparator mode in PIC18f458
i am feeding analogue input at pin RA0 to covert it in digital value
it was working good but now the pin is giving constant 3.5 volts and analogue is not converted into digital
i came to know that this is because of comparator
but i do not know how to disable it
kindly anybody tell me how to disable it and instruction for it
i am using mikroC as compiler
i want to know how can i disable the comparator mode in PIC18f458
i am feeding analogue input at pin RA0 to covert it in digital value
it was working good but now the pin is giving constant 3.5 volts and analogue is not converted into digital
i came to know that this is because of comparator
but i do not know how to disable it
kindly anybody tell me how to disable it and instruction for it
i am using mikroC as compiler