Hello Thomas,
I just bought 30 16f688's at a very low price so I've been looking for all the information I could find about them and as far as what I've found from reading the archives here is that this statement also works CMCON0 = 7 ' Comparators disabled.
I don't quite understand the data sheet but it says:
Note:
The ANSEL (91h) and CMCON0 (19h)
registers must be initialized to configure
an analog channel as a digital input. Pins
configured as analog inputs will read ‘0’.
Then it goes on to say bit 7-6: Unimplemented: Read as '0'. Does that mean that setting CMCON0 to either 6 or 7 has the same effect?
Thanks
jessey
Bookmarks