Enabling Comparator / Disabling Comparator PIC 16f1829 Problem


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Enabling Comparator / Disabling Comparator PIC 16f1829 Problem

    You need to change your TRISC =00000 during "DISCOMP:" for output?

  2. #2
    Join Date
    May 2013
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: Enabling Comparator / Disabling Comparator PIC 16f1829 Problem

    Quote Originally Posted by mark_s View Post
    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.

Similar Threads

  1. Use a PIC ADC like a fast interrupt comparator?
    By pxidr84 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 19th August 2011, 05:33
  2. PIC18F13K22 comparator problem
    By harryweb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th June 2011, 09:42
  3. pic18f analog comparator problem
    By david.silaghi in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th May 2009, 09:38
  4. PIC16F616 Comparator problem
    By JimA in forum General
    Replies: 0
    Last Post: - 15th October 2007, 14:56
  5. need help on comparator
    By bertus in forum General
    Replies: 1
    Last Post: - 21st October 2003, 10:25

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts