How can it work when the two inputs, according to your schematic, are wired to two different comparators? What did you change CMCON to to make it work?
HenrikOsson my big problem was in CMCON register configuration, i leave my previous circuit and i took the circuit uploaded by sayzer. and i edit some code there by puting my own code
Bookmarks