10F206 to 12F675 question

Thread Starter

MaxHeadRoom

Joined Jul 18, 2013
21,639
Having never really worked with comparators so far, I am in the process of converting a working program from a 10f206 to 12f675 and would just like some advice as to the equivalent register settings.
The 206 has a ref pot on CIN- with CIN+ a regular output, I assume CIN+ is internal reference.
With CMCON0, CNREF:CPREF = 00.
I figure that the equivalent in the eight modes avail in the 675 will be CMCON, CM2:CM0 = 011?
Anyone care to confirm or correct?
Correction: I think I need CM2:CM01= 100, no output pin.
Max.
 
Last edited:
Top