How about if you add CMCON=7 ?
sure i miss something around OPTION_REG.5=0 or something like that... i feel lazy today...
How about if you add CMCON=7 ?
sure i miss something around OPTION_REG.5=0 or something like that... i feel lazy today...
Last edited by mister_e; - 4th May 2007 at 22:57.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yep. It works nowTnx.
Stupid question maybe, but why CMCON has to be 7 not 6 or 5? If I want to use also some analog inputs, then how CMCON has to be set? I'm also trying to find out the answer by myself.
Look at section 7 (if my memory serves me well) of your datasheet (analog comparator section) there, should should find a table with the possible settings.
Analog comparator and analog to digital converter are two different animals...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks