PIC16F ,, Comparators

Status
Not open for further replies.

mas

New Member
In the Datasheet of the PIC 16F62x .. I read that you must turn off comparators to enable digital input ..

Isn't the digital Input enabled by default ??

& what are the comparators used for ??
 
mas said:
In the Datasheet of the PIC 16F62x .. I read that you must turn off comparators to enable digital input ..

Isn't the digital Input enabled by default ??
No. On power-up the comparators are on by default. You have to turn them off (CMCON = 7)

mas said:
what are the comparators used for ??
They produce a digital output that depends on the analog input voltages and the comparator module configuration (see figure 10.1)
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…