Re: Enabling Comparator / Disabling Comparator PIC 16f1829 Problem
Originally Posted by mark_s
You need to change your TRISC =00000 during "DISCOMP:" for output?
While I am setting the tris bit for portc.1 and portc.2 to an input, after it runs that subroutine it flips it to an output therefore no reason to set the tris bit at the time I disable the comparator.
Bookmarks